0001121: IndentationError in Python Console
This commit is contained in:
parent
672e4d0feb
commit
ea943e0d7c
|
@ -786,8 +786,10 @@ bool PythonConsole::isComment(const QString& source) const
|
|||
QChar ch = source.at(i++);
|
||||
if (ch.isSpace())
|
||||
continue;
|
||||
if (ch == QLatin1Char('#'))
|
||||
else if (ch == QLatin1Char('#'))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user