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
+8 -1
View File
@@ -852,7 +852,14 @@ void Window::layerHidden() {
}
void Window::hideMediaview() {
if (_mediaView && !_mediaView->isHidden()) _mediaView->hide();
if (_mediaView && !_mediaView->isHidden()) {
_mediaView->hide();
#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64
if (App::wnd()) {
App::wnd()->activateWindow();
}
#endif
}
}
void Window::setInnerFocus() {