mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Fix notification for focus room in main window
This commit is contained in:
parent
21584cd91d
commit
803bc8cf76
1 changed files with 1 additions and 1 deletions
|
@ -1072,7 +1072,7 @@ TimelineModel::setCurrentIndex(int index)
|
|||
if (index != oldIndex)
|
||||
emit currentIndexChanged(index);
|
||||
|
||||
if (MainWindow::instance()->activeRoom() != roomId())
|
||||
if (MainWindow::instance()->activeRoom() != roomId() && QGuiApplication::focusWindow())
|
||||
return;
|
||||
|
||||
if (!currentId.startsWith('m')) {
|
||||
|
|
Loading…
Reference in a new issue