summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/gtk/basic.py')
-rw-r--r--portato/gui/gtk/basic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/gui/gtk/basic.py b/portato/gui/gtk/basic.py
index 02caaf5..27c932e 100644
--- a/portato/gui/gtk/basic.py
+++ b/portato/gui/gtk/basic.py
@@ -70,6 +70,7 @@ class AbstractDialog (Window):
# set parent
self.window.set_transient_for(parent)
+ self.parent = parent
# catch the ESC-key
self.window.connect("key-press-event", self.cb_key_pressed)