diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 7d785eb594..f599c9fc49 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2417,8 +2417,6 @@ PrefShortcuts::PrefShortcuts(GuiPreferences * form) this, SLOT(selectBind())); connect(bindFileED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); - connect(removePB, SIGNAL(clicked()), - this, SIGNAL(changed())); shortcut_ = new GuiShortcutDialog(this); shortcut_bc_.setPolicy(ButtonPolicy::OkCancelPolicy); @@ -2742,6 +2740,7 @@ void PrefShortcuts::on_newPB_pressed() void PrefShortcuts::on_removePB_pressed() { + changed(); removeShortcut(); }