mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-23 16:56:55 +00:00
Force focus on parent widget on story show.
This commit is contained in:
parent
e41fc69513
commit
fc0902adf0
@ -3063,6 +3063,7 @@ bool OverlayWidget::takeFocusFrom(not_null<QWidget*> window) const {
|
||||
void OverlayWidget::activate() {
|
||||
_window->raise();
|
||||
_window->activateWindow();
|
||||
setFocus();
|
||||
QApplication::setActiveWindow(_window);
|
||||
setFocus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user