diff framework/MainWindowBase.cpp @ 86:dd74c5332b49

* More work on aligning copy/paste between layers. It's a surprisingly complicated business.
author Chris Cannam
date Wed, 06 Feb 2008 12:49:49 +0000
parents 40d0c964ad24
children 1b217963e53a
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Tue Feb 05 13:46:45 2008 +0000
+++ b/framework/MainWindowBase.cpp	Wed Feb 06 12:49:49 2008 +0000
@@ -572,7 +572,7 @@
 
     for (MultiSelection::SelectionList::iterator i = selections.begin();
          i != selections.end(); ++i) {
-        layer->copy(*i, clipboard);
+        layer->copy(currentPane, *i, clipboard);
         layer->deleteSelection(*i);
     }
 
@@ -595,7 +595,7 @@
 
     for (MultiSelection::SelectionList::iterator i = selections.begin();
          i != selections.end(); ++i) {
-        layer->copy(*i, clipboard);
+        layer->copy(currentPane, *i, clipboard);
     }
 }
 
@@ -628,7 +628,7 @@
 
     layer->paste(clipboard, frameOffset);
 */
-    layer->paste(clipboard, 0, true);
+    layer->paste(currentPane, clipboard, 0, true);
 }
 
 void