mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Always call raise() before activateWindow().
This commit is contained in:
@@ -916,6 +916,7 @@ void Notification::showReplyField() {
|
||||
if (!_item) {
|
||||
return;
|
||||
}
|
||||
raise();
|
||||
activateWindow();
|
||||
|
||||
if (_replyArea) {
|
||||
@@ -1039,6 +1040,7 @@ bool Notification::eventFilter(QObject *o, QEvent *e) {
|
||||
if (e->type() == QEvent::MouseButtonPress) {
|
||||
if (auto receiver = qobject_cast<QWidget*>(o)) {
|
||||
if (isAncestorOf(receiver)) {
|
||||
raise();
|
||||
activateWindow();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user