Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

branch
5_0_x
changeset 503
3f841c622b96
parent 468
ad6cfaeb558e
child 792
a13346916170
diff -r a529427b15ed -r 3f841c622b96 Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Thu Aug 12 10:07:38 2010 +0200
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Thu Aug 12 14:39:39 2010 +0200
@@ -86,7 +86,7 @@
             itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
 ##        itm.setToolTip(0, file)
         itm.setData(0, self.filenameRole, file)
-        itm.setData(0, self.lineRole, line)
+        itm.setData(0, self.lineRole, int(line))
         itm.setData(0, self.errorRole, error)
         itm.setData(0, self.warningRole, isWarning)
         

eric ide

mercurial