diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-30 01:41:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-30 01:41:21 +0000 |
commit | 21d4eb56d4ac09dca2f33f69f10d985b13a6b55c (patch) | |
tree | fb8ecbd384decbca845e522b9dcbde0bdf8de802 /libs/gtkmm2ext | |
parent | b1775149307a157444c516693ad6b98a404ef1b2 (diff) |
fix default response behaviour of Gtkmm2ext::Prompter (from colinf)
git-svn-id: svn://localhost/ardour2/branches/3.0@11112 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r-- | libs/gtkmm2ext/prompter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/prompter.cc b/libs/gtkmm2ext/prompter.cc index 2f7b43e0d5..a9a6d8da96 100644 --- a/libs/gtkmm2ext/prompter.cc +++ b/libs/gtkmm2ext/prompter.cc @@ -86,6 +86,7 @@ Prompter::on_show () if (first_show) { entry.signal_changed().connect (mem_fun (*this, &Prompter::on_entry_changed)); entry.signal_activate().connect (mem_fun (*this, &Prompter::entry_activated)); + can_accept_from_entry = !entry.get_text().empty(); first_show = false; } |