forked from qt-creator/qt-creator
CppEditor: Fix mistakenly inverted condition
Introduced in f09a694cfc
Change-Id: I1983c9258ab3fc4f924580f759193d786bb24f2e
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -310,7 +310,7 @@ void CppEditorDocument::setExtraPreprocessorDirectives(const QByteArray &directi
|
||||
|
||||
void CppEditorDocument::setIfdefedOutBlocks(const QList<TextEditor::BlockRange> &blocks)
|
||||
{
|
||||
if (syntaxHighlighter() && syntaxHighlighter()->syntaxHighlighterUpToDate()) {
|
||||
if (syntaxHighlighter() && !syntaxHighlighter()->syntaxHighlighterUpToDate()) {
|
||||
connect(syntaxHighlighter(),
|
||||
&SyntaxHighlighter::finished,
|
||||
this,
|
||||
|
Reference in New Issue
Block a user