changeset 630:bddd0924109f

* Fixed bug where ctrl+shift+s wouldn't work because of "ambiguous shortcut overload"
author Sam Izzo <sam@humbug.net>
date Mon, 27 Aug 2012 00:52:44 +1000
parents 080258d897db
children ac8188fd6bc9
files src/filestatuswidget.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/filestatuswidget.cpp	Sun Aug 26 02:45:04 2012 +1000
+++ b/src/filestatuswidget.cpp	Mon Aug 27 00:52:44 2012 +1000
@@ -156,6 +156,7 @@
             if (m_shortcuts.contains(a)) {
                 QString shortcut = m_shortcuts[a];
                 act->setShortcut(shortcut);
+                act->setShortcutContext(Qt::WidgetShortcut);
             }
             connect(act, SIGNAL(triggered()), this, SLOT(menuActionActivated()));
             w->insertAction(0, act);