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: #2923 (GUI: Filter toolbar menu items not synchronized)
This commit is contained in:
Kimmo Varis 2011-07-20 13:35:56 +03:00
parent ee988a0689
commit 8676647b03
1 changed files with 1 additions and 0 deletions

View File

@ -812,6 +812,7 @@ void MainWindow::AboutToShowViewMenu()
{ {
mUI.mActionToolBarMain->setChecked(mUI.mToolBarMain->isVisible()); mUI.mActionToolBarMain->setChecked(mUI.mToolBarMain->isVisible());
mUI.mActionToolBarView->setChecked(mUI.mToolBarView->isVisible()); mUI.mActionToolBarView->setChecked(mUI.mToolBarView->isVisible());
mUI.mActionToolBarFilter->setChecked(mUI.mToolBarFilter->isVisible());
} }
void MainWindow::StopChecking() void MainWindow::StopChecking()