r14120 by cbradney - #8261: Enabled (de)hyphenation even on empty text frames in the menus, taking away the need to deselect/select a new frame to hyphenate it. The hyphenator checks for empty frames anyway
scribus-commit
scribus-commit at lists.scribus.net
Thu Oct 8 22:10:17 CEST 2009
Revision: 14120
Author: cbradney
Date: 2009-10-08T19:33:36.503413Z
Commit message: #8261: Enabled (de)hyphenation even on empty text frames in the menus, taking away the need to deselect/select a new frame to hyphenate it. The hyphenator checks for empty frames anyway
Changeset:
M /branches/Version135/Scribus/scribus/scribus.cpp
Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp (revision 14119)
+++ scribus/scribus.cpp (revision 14120)
@@ -2982,8 +2982,8 @@
scrMenuMgr->setMenuEnabled("EditContents", true);
scrActions["editClearContents"]->setEnabled(true);
scrActions["editSearchReplace"]->setEnabled(currItem->itemText.length() != 0);
- scrActions["extrasHyphenateText"]->setEnabled(currItem->itemText.length() != 0);
- scrActions["extrasDeHyphenateText"]->setEnabled(currItem->itemText.length() != 0);
+ scrActions["extrasHyphenateText"]->setEnabled(true);
+ scrActions["extrasDeHyphenateText"]->setEnabled(true);
scrMenuMgr->setMenuEnabled("Item", true);
//scrMenuMgr->setMenuEnabled("ItemShapes", !(currItem->isTableItem && currItem->isSingleSel));
scrMenuMgr->setMenuEnabled("ItemConvertTo", true);
More information about the scribus-commit
mailing list