summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/window_gui.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 45ef5b8f7..387dab1f6 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -704,7 +704,7 @@ public:
};
/**
- * Data structure for a window opened from a toolbar
+ * Base class for windows opened from a toolbar.
*/
class PickerWindowBase : public Window {
@@ -714,6 +714,11 @@ public:
this->parent = parent;
};
+ PickerWindowBase(Window *parent) : Window()
+ {
+ this->parent = parent;
+ };
+
virtual ~PickerWindowBase();
};