mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
ba22be24b4
commit
520709d2bb
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user