r19121 by craig - #12311: Disable vector import menu when no doc is open
scribus-commit
scribus-commit at lists.scribus.net
Thu May 15 20:42:20 UTC 2014
Author: craig
Date: Thu May 15 20:42:19 2014
New Revision: 19121
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19121
Log:
#12311: Disable vector import menu when no doc is open
Modified:
trunk/Scribus/scribus/actionmanager.cpp
trunk/Scribus/scribus/appmodehelper.cpp
Modified: trunk/Scribus/scribus/actionmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19121&path=/trunk/Scribus/scribus/actionmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/actionmanager.cpp (original)
+++ trunk/Scribus/scribus/actionmanager.cpp Thu May 15 20:42:19 2014
@@ -2512,6 +2512,7 @@
(*scrActions)["fileImportText2"]->setEnabled(false);
(*scrActions)["fileImportImage"]->setEnabled(false);
(*scrActions)["fileImportAppendText"]->setEnabled(false);
+ (*scrActions)["fileImportVector"]->setEnabled(false);
(*scrActions)["pageInsert"]->setEnabled(false);
(*scrActions)["pageImport"]->setEnabled(false);
(*scrActions)["pageDelete"]->setEnabled(false);
Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19121&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Thu May 15 20:42:19 2014
@@ -245,6 +245,7 @@
(*scrActions)["fileSaveAs"]->setEnabled(true);
(*scrActions)["fileExportAsEPS"]->setEnabled(true);
(*scrActions)["fileExportAsPDF"]->setEnabled(true);
+ (*scrActions)["fileImportVector"]->setEnabled(true);
(*scrActions)["pageImport"]->setEnabled(true);
if ( ScCore->haveGS() || ScCore->isWinGUI() )
@@ -423,6 +424,7 @@
(*scrActions)["fileImportText2"]->setEnabled(false);
(*scrActions)["fileImportImage"]->setEnabled(false);
(*scrActions)["fileImportAppendText"]->setEnabled(false);
+ (*scrActions)["fileImportVector"]->setEnabled(false);
(*scrActions)["pageInsert"]->setEnabled(false);
(*scrActions)["pageImport"]->setEnabled(false);
(*scrActions)["pageDelete"]->setEnabled(false);
More information about the scribus-commit
mailing list