Fixed an issue writing and reading watch expressions to/from the session file. 6_0_x

Sat, 19 Sep 2015 12:12:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 19 Sep 2015 12:12:19 +0200
branch
6_0_x
changeset 4462
1085a59b143e
parent 4460
3168cf53729c
child 4464
764a22ab66d1

Fixed an issue writing and reading watch expressions to/from the session file.

E5XML/SessionReader.py file | annotate | diff | comparison | revisions
E5XML/SessionWriter.py file | annotate | diff | comparison | revisions
diff -r 3168cf53729c -r 1085a59b143e E5XML/SessionReader.py
--- a/E5XML/SessionReader.py	Mon Sep 14 19:03:29 2015 +0200
+++ b/E5XML/SessionReader.py	Sat Sep 19 12:12:19 2015 +0200
@@ -212,7 +212,7 @@
             self.readNext()
             if self.isEndElement() and self.name() == "Watchexpression":
                 self.dbs.getWatchPointModel().addWatchPoint(
-                    weCond, (weTemp, weEnabled, weCount, weSpecialCond))
+                    weCond, weSpecialCond, (weTemp, weEnabled, weCount))
                 break
             
             if self.isStartElement():
diff -r 3168cf53729c -r 1085a59b143e E5XML/SessionWriter.py
--- a/E5XML/SessionWriter.py	Mon Sep 14 19:03:29 2015 +0200
+++ b/E5XML/SessionWriter.py	Sat Sep 19 12:12:19 2015 +0200
@@ -140,7 +140,7 @@
         wpModel = self.dbs.getWatchPointModel()
         for row in range(wpModel.rowCount()):
             index = wpModel.index(row, 0)
-            cond, temp, enabled, count, special = \
+            cond, special, temp, enabled, count = \
                 wpModel.getWatchPointByIndex(index)[:5]
             self.writeStartElement("Watchexpression")
             self.writeTextElement("Condition", str(cond))

eric ide

mercurial