Skip to content
Snippets Groups Projects
Commit 7f4545cb authored by con's avatar con
Browse files

Wrong flags at one place.

parent c49412ac
No related branches found
No related tags found
No related merge requests found
......@@ -445,8 +445,8 @@ void FindToolBar::updateIcons()
void FindToolBar::updateFlagMenus()
{
bool wholeOnly = ((m_findFlags & QTextDocument::FindWholeWords));
bool sensitive = ((m_findFlags & QTextDocument::FindCaseSensitively));
bool wholeOnly = ((m_findFlags & IFindSupport::FindWholeWords));
bool sensitive = ((m_findFlags & IFindSupport::FindCaseSensitively));
if (m_wholeWordAction->isChecked() != wholeOnly)
m_wholeWordAction->setChecked(wholeOnly);
if (m_caseSensitiveAction->isChecked() != sensitive)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment