Dismiss reply when clicking on Esc

Backport of 59f9c36854
This commit is contained in:
Carl Schwan
2020-12-23 18:02:37 +01:00
parent c96109e9b7
commit c56973763c

View File

@@ -357,7 +357,10 @@ ToolBar {
}
}
Keys.onEscapePressed: closeAll()
Keys.onEscapePressed: {
clearReply();
closeAll();
}
Keys.onPressed: {
if (event.key === Qt.Key_PageDown) {