comparison framework/MainWindowBase.cpp @ 98:b218f441302f

* Fix #1894369 1.2pre5 crashes on copying data
author Chris Cannam
date Fri, 15 Feb 2008 15:15:29 +0000
parents 737b373246b5
children e154e24b7ec3
comparison
equal deleted inserted replaced
97:9c5c1989d0f8 98:b218f441302f
612 Layer *layer = currentPane->getSelectedLayer(); 612 Layer *layer = currentPane->getSelectedLayer();
613 613
614 Clipboard &clipboard = m_viewManager->getClipboard(); 614 Clipboard &clipboard = m_viewManager->getClipboard();
615 // Clipboard::PointList contents = clipboard.getPoints(); 615 // Clipboard::PointList contents = clipboard.getPoints();
616 616
617 bool inCompound = true; 617 bool inCompound = false;
618 618
619 if (!layer || !layer->isLayerEditable()) { 619 if (!layer || !layer->isLayerEditable()) {
620 620
621 CommandHistory::getInstance()->startCompoundOperation 621 CommandHistory::getInstance()->startCompoundOperation
622 (tr("Paste"), true); 622 (tr("Paste"), true);