]> git.lyx.org Git - features.git/commitdiff
Backport 33284ee5c.
authorPavel Sanda <sanda@lyx.org>
Sat, 29 Dec 2018 16:55:55 +0000 (17:55 +0100)
committerPavel Sanda <sanda@lyx.org>
Sat, 29 Dec 2018 16:55:55 +0000 (17:55 +0100)
src/frontends/qt4/GuiCompleter.cpp
status.23x

index f2e4eda81f10509af19f8e656d2ada45235a8353..767bb6bac747da2ac5f6616255915ab109cca6cb 100644 (file)
@@ -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;
                }
        }
index e83d551a188de46d528ab09072061b982acfdf93..5e577dde9b1592b3d9087bfc4e6c11f01721cb4d 100644 (file)
@@ -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