mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
* GuiPrefs.cpp (apply):
- unbind existing shortcuts before binding new ones (bug 5444). Patch submitted and tested by Bennett. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27949 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
74e1ca54c4
commit
07ad6b8d9d
@ -2092,8 +2092,8 @@ void PrefShortcuts::apply(LyXRC & rc) const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
FileName user_bind_file(bind_dir.absFilename() + "/user.bind");
|
FileName user_bind_file(bind_dir.absFilename() + "/user.bind");
|
||||||
user_bind_.write(user_bind_file.toFilesystemEncoding(), false, false);
|
user_unbind_.write(user_bind_file.toFilesystemEncoding(), false, true);
|
||||||
user_unbind_.write(user_bind_file.toFilesystemEncoding(), true, true);
|
user_bind_.write(user_bind_file.toFilesystemEncoding(), true, false);
|
||||||
// immediately apply the keybindings. Why this is not done before?
|
// immediately apply the keybindings. Why this is not done before?
|
||||||
// The good thing is that the menus are updated automatically.
|
// The good thing is that the menus are updated automatically.
|
||||||
theTopLevelKeymap().clear();
|
theTopLevelKeymap().clear();
|
||||||
|
@ -83,6 +83,8 @@ What's new
|
|||||||
|
|
||||||
- Enable "dissolve" item in context menus of collapsable insets (bug 4985).
|
- Enable "dissolve" item in context menus of collapsable insets (bug 4985).
|
||||||
|
|
||||||
|
- Fix unbinding/binding behaviour of shortcuts (bug 4544).
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user