diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 435d00d639..222833b325 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2092,8 +2092,8 @@ void PrefShortcuts::apply(LyXRC & rc) const return; } 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(), true, true); + user_unbind_.write(user_bind_file.toFilesystemEncoding(), false, true); + user_bind_.write(user_bind_file.toFilesystemEncoding(), true, false); // immediately apply the keybindings. Why this is not done before? // The good thing is that the menus are updated automatically. theTopLevelKeymap().clear(); diff --git a/status.16x b/status.16x index 248e751806..90870f40a8 100644 --- a/status.16x +++ b/status.16x @@ -83,6 +83,8 @@ What's new - Enable "dissolve" item in context menus of collapsable insets (bug 4985). +- Fix unbinding/binding behaviour of shortcuts (bug 4544). + * DOCUMENTATION AND LOCALIZATION