summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/PatchPropertiesWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/PatchPropertiesWindow.h')
-rw-r--r--src/progs/ingenuity/PatchPropertiesWindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/ingenuity/PatchPropertiesWindow.h b/src/progs/ingenuity/PatchPropertiesWindow.h
index 76f12061..4f5da674 100644
--- a/src/progs/ingenuity/PatchPropertiesWindow.h
+++ b/src/progs/ingenuity/PatchPropertiesWindow.h
@@ -40,7 +40,8 @@ class PatchPropertiesWindow : public Gtk::Window
public:
PatchPropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
- void patch_model(CountedPtr<PatchModel> patch_model);
+ void present(CountedPtr<PatchModel> patch_model) { set_patch(patch_model); Gtk::Window::present(); }
+ void set_patch(CountedPtr<PatchModel> patch_model);
void cancel_clicked();
void ok_clicked();