r14917 by fschmid - Compile fix for breakage introduced by committ 14915

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 20 23:10:20 CET 2010


Revision: 14917
Author: fschmid
Date: 2010-03-20T22:01:29.944477Z
Commit message: Compile fix for breakage introduced by committ 14915

Changeset: 
M  /trunk/Scribus/scribus/plugins/scriptplugin/cmdmisc.cpp

Diffs:
Index: scribus/plugins/scriptplugin/cmdmisc.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdmisc.cpp	(revision 14916)
+++ scribus/plugins/scriptplugin/cmdmisc.cpp	(revision 14917)
@@ -710,7 +710,7 @@
 				return Py_None;
 			}
 			ScCore->primaryMainWindow()->doc->removeLayer(num2);
-			ScCore->primaryMainWindow()->doc->Layers.removeLayerByNumber(num2);
+			ScCore->primaryMainWindow()->doc->Layers.removeLayerByID(num2);
 			ScCore->primaryMainWindow()->doc->setActiveLayer(0);
 			ScCore->primaryMainWindow()->changeLayer(0);
 			found = true;




More information about the scribus-commit mailing list