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)
|
if (index != oldIndex)
|
||||||
emit currentIndexChanged(index);
|
emit currentIndexChanged(index);
|
||||||
|
|
||||||
if (MainWindow::instance()->activeRoom() != roomId())
|
if (MainWindow::instance()->activeRoom() != roomId() && QGuiApplication::focusWindow())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!currentId.startsWith('m')) {
|
if (!currentId.startsWith('m')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user