diff options
Diffstat (limited to 'libs/widgets/widgets/prompter.h')
-rw-r--r-- | libs/widgets/widgets/prompter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/widgets/widgets/prompter.h b/libs/widgets/widgets/prompter.h index afe6733d1b..94e0ad65cc 100644 --- a/libs/widgets/widgets/prompter.h +++ b/libs/widgets/widgets/prompter.h @@ -38,8 +38,8 @@ namespace ArdourWidgets { class LIBWIDGETS_API Prompter : public Gtk::Dialog { public: - Prompter (bool modal = false); - Prompter (Gtk::Window& parent, bool modal = false); + Prompter (bool modal = false, bool with_cancel_button = true); + Prompter (Gtk::Window& parent, bool modal = false, bool with_cancel_button = true); ~Prompter () {}; void set_prompt (std::string prompt) { @@ -68,7 +68,7 @@ private: bool first_show; bool can_accept_from_entry; - void init (); + void init (bool with_cancel); void entry_activated (); }; |