summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorAndrey Mozzhuhin <amozzhuhin@yandex.ru>2017-10-01 15:13:05 +0000
committerAndrey Mozzhuhin <amozzhuhin@yandex.ru>2017-10-05 21:28:26 +0000
commita4a165df79514f34736282e699180cb8ae81c949 (patch)
tree486f9145cc9b07548c14535c00a6f755972f77e7 /src/inkscape.cpp
parentMerge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape (diff)
downloadinkscape-a4a165df79514f34736282e699180cb8ae81c949.tar.gz
inkscape-a4a165df79514f34736282e699180cb8ae81c949.zip
Fix bug #1226962 - Keyboard shortcuts (hotkeys) not functional in some
cases in non-latin keyboard layouts The key group with zero index can be a non-Latin layout. Try to determine Latin layout group index at runtime by checking available keymap entries for Latin 'a' keyval.
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index c56002753..c6c43272c 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -487,9 +487,10 @@ Application::Application(const char* argv, bool use_gui) :
Inkscape::UI::Dialog::DebugDialog::getInstance()->captureLogMessages();
}
- /* Check for global remapping of Alt key */
if (use_gui)
{
+ Inkscape::UI::Tools::init_latin_keys_group();
+ /* Check for global remapping of Alt key */
mapalt(guint(prefs->getInt("/options/mapalt/value", 0)));
trackalt(guint(prefs->getInt("/options/trackalt/value", 0)));
}