From a1c88d58fcc57a605fe249d1034a69906570d700 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Sat, 17 Jun 2023 23:32:26 +0900 Subject: [PATCH] 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. --- UI/window-basic-main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 75aad426f..ed85d1a90 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -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)