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:
parent
43f7c8c928
commit
a1c88d58fc
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue