Commit 7f4545cb authored by con's avatar con
Browse files

Wrong flags at one place.

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