Mark the preferences dialog as changed when a shortcut is removed.

(Apparently the signal-slot construction does not work when there is also a on_**_pressed() slot?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33903 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-29 06:54:27 +00:00
parent ba22be24b4
commit 520709d2bb

View File

@ -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();
}