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
+1 -1
View File
@@ -3,7 +3,7 @@
## Unversioned ## Unversioned
- Minor: Nicknames are now taken into consideration when searching for messages. (#4663) - Minor: Nicknames are now taken into consideration when searching for messages. (#4663)
- Minor: Add an icon showing when streamer mode is enabled (#4410) - Minor: Add an icon showing when streamer mode is enabled (#4410, #4690)
- Minor: Added `/shoutout <username>` commands to shoutout specified user. (#4638) - Minor: Added `/shoutout <username>` commands to shoutout specified user. (#4638)
- Minor: Improved editing hotkeys. (#4628) - Minor: Improved editing hotkeys. (#4628)
- Minor: The input completion and quick switcher are now styled to match your theme. (#4671) - Minor: The input completion and quick switcher are now styled to match your theme. (#4671)
+3
View File
@@ -197,6 +197,9 @@ void Window::addCustomTitlebarButtons()
this->signalHolder_.managedConnect(getApp()->streamerModeChanged, [this]() { this->signalHolder_.managedConnect(getApp()->streamerModeChanged, [this]() {
this->updateStreamerModeIcon(); this->updateStreamerModeIcon();
}); });
// Update initial state
this->updateStreamerModeIcon();
} }
void Window::updateStreamerModeIcon() void Window::updateStreamerModeIcon()