0001121: IndentationError in Python Console

This commit is contained in:
wmayer 2013-05-14 17:28:44 +02:00
parent 672e4d0feb
commit ea943e0d7c

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;