0001121: IndentationError in Python Console
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user