forked from qt-creator/qt-creator
The return value was reversed, though not checked really.
This commit is contained in:
@@ -225,7 +225,7 @@ bool HelpViewer::findText(const QString &text, IFindSupport::FindFlags flags,
|
||||
found.setPosition(position);
|
||||
}
|
||||
setTextCursor(found);
|
||||
return cursorIsNull;
|
||||
return !cursorIsNull;
|
||||
}
|
||||
|
||||
// -- public slots
|
||||
|
||||
Reference in New Issue
Block a user