mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
linux crash on diacritics enter should be fixed
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user