mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Force focus on parent widget on story show.
This commit is contained in:
parent
e41fc69513
commit
fc0902adf0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue