diff options
-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 * ) { |