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.
(cherry picked from commit a1c88d58fc)
This commit is contained in:
parent
eae2affc09
commit
e2c481cf95
1 changed files with 2 additions and 0 deletions
|
|
@ -9365,11 +9365,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