Fix streamer mode button being always visible on Windows (#4690)

Fixes #4682
This commit is contained in:
pajlada
2023-06-18 14:33:44 +02:00
committed by GitHub
parent 0e60ca10d0
commit af34bf6246
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -197,6 +197,9 @@ void Window::addCustomTitlebarButtons()
this->signalHolder_.managedConnect(getApp()->streamerModeChanged, [this]() {
this->updateStreamerModeIcon();
});
// Update initial state
this->updateStreamerModeIcon();
}
void Window::updateStreamerModeIcon()