aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/msec/msecgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 21496c1..5e1a132 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -957,7 +957,7 @@ class MsecGui:
else:
# revert back to the selected level or switch to 'Standard' if none
level = config.STANDARD_LEVEL
- iter = self.level_list.get_iter_root()
+ iter = self.level_list.get_iter_first()
while iter:
list_level = self.level_list.get_value(iter, self.COLUMN_LEVEL)
list_weight = self.level_list.get_value(iter, self.COLUMN_LEVEL_CURRENT)
@@ -993,7 +993,7 @@ class MsecGui:
# updating the markup of new current level unless switching to 'None' level
# in this case, we'll still use current level in case user decides to switch back later
if level != config.NONE_LEVEL:
- iter = self.level_list.get_iter_root()
+ iter = self.level_list.get_iter_first()
while iter:
list_level = self.level_list.get_value(iter, self.COLUMN_LEVEL)
if list_level != level:
@@ -1011,7 +1011,7 @@ class MsecGui:
for z in self.current_options_view:
options, curconfig = self.current_options_view[z]
- iter = options.get_iter_root()
+ iter = options.get_iter_first()
# what options are we changing
if curconfig.__class__ == config.MsecConfig:
# main msec options