]> git.lyx.org Git - lyx.git/commitdiff
InsetInfo: use localized shortcuts
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 1 Aug 2018 13:17:46 +0000 (15:17 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 1 Aug 2018 13:17:46 +0000 (15:17 +0200)
src/insets/InsetInfo.cpp

index c0e18eaca59bd784583f3ac242149010b05da26c..a0a879856b56e28e98e6aec95a09e5c314819493 100644 (file)
@@ -510,9 +510,9 @@ void InsetInfo::updateBuffer(ParIterator const & it, UpdateType utype) {
                        break;
                }
                if (type_ == SHORTCUT_INFO)
-                       setText(bindings.begin()->print(KeySequence::Portable), guilang);
+                       setText(bindings.begin()->print(KeySequence::ForGui), guilang);
                else
-                       setText(theTopLevelKeymap().printBindings(func, KeySequence::Portable), guilang);
+                       setText(theTopLevelKeymap().printBindings(func, KeySequence::ForGui), guilang);
                force_ltr_ = !guilang->rightToLeft() && !lang->rightToLeft();
                break;
        }