Skip to content

Commit 8676647

Browse files
committed
GUI: Filter toolbar menu items not in synch.
When Filter-toolbar was enabled/disabled from the View-menu its state was not updated to the context menu. And vice versa. Ticket: cppcheck-opensource#2923 (GUI: Filter toolbar menu items not synchronized)
1 parent ee988a0 commit 8676647

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gui/mainwindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ void MainWindow::AboutToShowViewMenu()
812812
{
813813
mUI.mActionToolBarMain->setChecked(mUI.mToolBarMain->isVisible());
814814
mUI.mActionToolBarView->setChecked(mUI.mToolBarView->isVisible());
815+
mUI.mActionToolBarFilter->setChecked(mUI.mToolBarFilter->isVisible());
815816
}
816817

817818
void MainWindow::StopChecking()

0 commit comments

Comments
 (0)