mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-29 08:36:18 -04:00
UI: Fix checked state of source toolbar menu item
After the source toolbar was hidden or shown by a hotkey, the checked state of the menu item was not updated.
This commit is contained in:
@@ -9475,11 +9475,13 @@ void OBSBasic::on_toggleListboxToolbars_toggled(bool visible)
|
||||
void OBSBasic::ShowContextBar()
|
||||
{
|
||||
on_toggleContextBar_toggled(true);
|
||||
ui->toggleContextBar->setChecked(true);
|
||||
}
|
||||
|
||||
void OBSBasic::HideContextBar()
|
||||
{
|
||||
on_toggleContextBar_toggled(false);
|
||||
ui->toggleContextBar->setChecked(false);
|
||||
}
|
||||
|
||||
void OBSBasic::on_toggleContextBar_toggled(bool visible)
|
||||
|
||||
Reference in New Issue
Block a user