Skip to content
Snippets Groups Projects
Commit 8536e997 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix closing of AtomPubsub window. Fixes #5210

parent b9d4611f
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,10 @@ class AtomWindow:
else:
cls.window.updateCounter()
@classmethod
def windowClosed(cls):
cls.window = None
def __init__(self):
''' Create new window... only if we have anything to show. '''
assert len(self.__class__.entries)>0
......@@ -113,6 +117,7 @@ class AtomWindow:
def on_close_button_clicked(self, widget):
self.window.destroy()
self.windowClosed()
def on_next_button_clicked(self, widget):
self.displayNextEntry()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment