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:
Norihiro Kamae
2023-06-17 23:32:26 +09:00
committed by Lain
parent 43f7c8c928
commit a1c88d58fc

View File

@@ -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)