diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-22 15:22:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-22 15:22:52 +0100 |
commit | db246232e898e9c4b351e80cede0dbea271ca8b8 (patch) | |
tree | b1d560b1b06511dd4ef3efd2ad272d6692fcca81 /facetracknoir | |
parent | 0d75fa2f92e41dce578aef99579f21bd3f6d20fa (diff) |
don't bind shortcuts unless tracker running
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/shortcuts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/facetracknoir/shortcuts.cpp b/facetracknoir/shortcuts.cpp index 09663a0f..6a972aa3 100644 --- a/facetracknoir/shortcuts.cpp +++ b/facetracknoir/shortcuts.cpp @@ -36,7 +36,8 @@ KeyboardShortcutDialog::~KeyboardShortcutDialog() { void KeyboardShortcutDialog::doOK() { save(); this->close(); - mainApp->bindKeyboardShortcuts(); + if (mainApp->tracker) + mainApp->bindKeyboardShortcuts(); } void KeyboardShortcutDialog::showEvent ( QShowEvent * ) { |