Discussion:
[LyX/master] Fix key code
(too old to reply)
Jürgen Spitzmüller
2014-10-10 11:51:29 UTC
Permalink
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?

Jürgen
Jürgen Spitzmüller
2014-10-10 16:24:53 UTC
Permalink
Post by Jürgen Spitzmüller
Richard, OK for branch?
Sure.
Done.

Jürgen
JeanMarc Lasgouttes
2014-10-10 20:22:16 UTC
Permalink
That was a good detective work, Juergen. After the fact, the answer is trivial, but the original discussion could have led us far far away.

JMarc
Post by Jürgen Spitzmüller
Richard, OK for branch?
Sure.
Done.
JÃŒrgen
Loading...