diff options
Diffstat (limited to 'sfx2/source/doc/templatedlg.cxx')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index d7899eea2bd8..a853a33bd12a 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1055,7 +1055,7 @@ void SfxTemplateManagerDlg::OnTemplateSearch () bool bVisible = mpSearchEdit->IsVisible(); mpActionBar->SetItemState(mpActionBar->GetItemId(ACTIONBAR_SEARCH), - bVisible? STATE_NOCHECK: STATE_CHECK); + bVisible? TRISTATE_FALSE: TRISTATE_TRUE); // fdo#74782 We are switching views. No matter to which state, // deselect and hide our current SearchView items. |