Jürgen Spitzmüller
2014-10-10 11:51:29 UTC
commit db2044dc14cc34d4e32f4ef979ac6626cd61ecb0
Date: Wed Oct 8 10:57:58 2014 +0200
Fix key code
diff --git a/src/frontends/qt4/GuiKeySymbol.cpp
b/src/frontends/qt4/GuiKeySymbol.cpp index 294faae..54a4516 100644
--- a/src/frontends/qt4/GuiKeySymbol.cpp
+++ b/src/frontends/qt4/GuiKeySymbol.cpp
@@ -64,7 +64,7 @@ static int string_to_qkey(std::string const & str)
if (str == "Escape") return Qt::Key_Escape;
if (str == "Tab") return Qt::Key_Tab;
- if (str == "ISO_Left_Tab") return Qt::Key_Tab;
+ if (str == "ISO_Left_Tab") return Qt::Key_Backtab;
if (str == "BackSpace") return Qt::Key_Backspace;
if (str == "Return") return Qt::Key_Return;
if (str == "KP_Enter") return Qt::Key_Enter; // correct ?
Richard, OK for branch?Date: Wed Oct 8 10:57:58 2014 +0200
Fix key code
diff --git a/src/frontends/qt4/GuiKeySymbol.cpp
b/src/frontends/qt4/GuiKeySymbol.cpp index 294faae..54a4516 100644
--- a/src/frontends/qt4/GuiKeySymbol.cpp
+++ b/src/frontends/qt4/GuiKeySymbol.cpp
@@ -64,7 +64,7 @@ static int string_to_qkey(std::string const & str)
if (str == "Escape") return Qt::Key_Escape;
if (str == "Tab") return Qt::Key_Tab;
- if (str == "ISO_Left_Tab") return Qt::Key_Tab;
+ if (str == "ISO_Left_Tab") return Qt::Key_Backtab;
if (str == "BackSpace") return Qt::Key_Backspace;
if (str == "Return") return Qt::Key_Return;
if (str == "KP_Enter") return Qt::Key_Enter; // correct ?
Jürgen