r20219 by craig - #13183: Fix crash when you try to set a shortcut on one of the menu headings in keyboard shortcut prefs
scribus-commit
scribus-commit at lists.scribus.net
Sun Jun 28 10:44:35 UTC 2015
Author: craig
Date: Sun Jun 28 10:44:35 2015
New Revision: 20219
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20219
Log:
#13183: Fix crash when you try to set a shortcut on one of the menu headings in keyboard shortcut prefs
Modified:
branches/Version14x/Scribus/scribus/tabkeyboardshortcutswidget.cpp
Modified: branches/Version14x/Scribus/scribus/tabkeyboardshortcutswidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20219&path=/branches/Version14x/Scribus/scribus/tabkeyboardshortcutswidget.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/tabkeyboardshortcutswidget.cpp (original)
+++ branches/Version14x/Scribus/scribus/tabkeyboardshortcutswidget.cpp Sun Jun 28 10:44:35 2015
@@ -372,6 +372,7 @@
lviToMenuMap.append(currMenuLVI);
currMenuLVI->setText(0, itmenu->first);
currMenuLVI->setExpanded(true);
+ currMenuLVI->setFlags(Qt::ItemIsEnabled);
prevMenuLVI=currMenuLVI;
first=true;
currLVI=0;
@@ -406,6 +407,7 @@
lviToMenuMap.append(currMenuLVI);
currMenuLVI->setText(0, itmenu->first);
currMenuLVI->setExpanded(true);
+ currMenuLVI->setFlags(Qt::ItemIsEnabled);
prevMenuLVI=currMenuLVI;
first=true;
currLVI=0;
More information about the scribus-commit
mailing list