Fix notification for focus room in main window
This commit is contained in:
parent
21584cd91d
commit
803bc8cf76
@ -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 New Issue
Block a user