Skip to content
Snippets Groups Projects
Commit b10a44f4 authored by Marco Biasini's avatar Marco Biasini
Browse files

suppress annoying status widget size changes

parent 8b592e95
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,8 @@ class QueryEditorWidget(QtGui.QWidget):
self.status_.setText("")
else:
d=query.GetErrorDescription()
self.status_.setText("<font color='red'>%s</font>"%d.msg)
self.status_.setFixedSize(self.width(),self.status_.height())
self.status_.setText("<font color='red'>%s</font>"%d.msg.strip())
#self.status_.setFixedSize(self.width(),self.status_.height())
cursor.movePosition(QtGui.QTextCursor.Start)
if d.range.Loc<len(query.string):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment