Commit e8d56fb5 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Fix crash in next/previous()

parent 33895abf
Pipeline #162200 failed with stage
in 58 seconds
......@@ -100,7 +100,7 @@ class SitesManager(Gtk.Grid):
current = None
children = self.__box.get_children()
for child in children:
if child.self.get_state_flags() & Gtk.StateFlags.VISITED:
if child.get_state_flags() & Gtk.StateFlags.VISITED:
current = child
child.unset_state_flags(Gtk.StateFlags.VISITED)
index = current.get_index()
......@@ -125,7 +125,7 @@ class SitesManager(Gtk.Grid):
current = None
children = self.__box.get_children()
for child in children:
if child.self.get_state_flags() & Gtk.StateFlags.VISITED:
if child.get_state_flags() & Gtk.StateFlags.VISITED:
current = child
child.unset_state_flags(Gtk.StateFlags.VISITED)
index = current.get_index()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment