linux crash on diacritics enter should be fixed

This commit is contained in:
John Preston
2015-09-25 18:03:57 +03:00
parent d8b421993d
commit 00c9d16925
7 changed files with 40 additions and 2 deletions
+5
View File
@@ -269,4 +269,9 @@ void ContextMenu::popup(const QPoint &p) {
ContextMenu::~ContextMenu() {
clearActions();
#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64
if (App::wnd()) {
App::wnd()->activateWindow();
}
#endif
}