0001121: IndentationError in Python Console

This commit is contained in:
wmayer
2013-05-14 17:28:44 +02:00
parent 656ded32f6
commit bb5a269690

View File

@@ -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;