commit 78e256163ab4fef7766d023bf8388ac062a49984
Author: Pavel Sanda <sa...@lyx.org>
Date:   Sat Dec 29 17:55:55 2018 +0100

    Backport 33284ee5c.
---
 src/frontends/qt4/GuiCompleter.cpp |    5 +++++
 status.23x                         |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt4/GuiCompleter.cpp 
b/src/frontends/qt4/GuiCompleter.cpp
index f2e4eda..767bb6b 100644
--- a/src/frontends/qt4/GuiCompleter.cpp
+++ b/src/frontends/qt4/GuiCompleter.cpp
@@ -216,6 +216,11 @@ bool GuiCompleter::eventFilter(QObject * watched, QEvent * 
e)
                        tab();
                        ke->accept();
                        return true;
+               case Qt::Key_Escape:
+                       hidePopup();
+                       hideInline();
+                       updateVisibility(false, false);
+                       return true;
                default: break;
                }
        }
diff --git a/status.23x b/status.23x
index e83d551..5e577dd 100644
--- a/status.23x
+++ b/status.23x
@@ -97,6 +97,8 @@ What's new
 
 - Fix size of layout combo (bug 6096).
 
+- Completion popup context menu now properly responds to Esc key.
+
 
 * INTERNALS
 

Reply via email to