Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

changeset 500
c3abc7895a01
parent 466
e6a4bc9e1043
child 564
b3d966393ba9
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Thu Aug 12 10:11:06 2010 +0200
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Thu Aug 12 16:11:13 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