summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index bc2df770d..7b62da461 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -426,7 +426,10 @@ public:
class PickerWindowBase : public Window {
public:
- PickerWindowBase(const WindowDesc *desc) : Window(desc) {}; // nothing special yet, just propagation
+ PickerWindowBase(const WindowDesc *desc, Window *parent) : Window(desc)
+ {
+ this->parent = parent;
+ };
virtual ~PickerWindowBase();
};