X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fselector.cc;h=04fbd13001ea98672daa0d7f8e221dd730b3b14a;hb=8dcc28c9ad91baade9c30a2ec6d59a1f799dc654;hp=97f468707b39291a0efead8aff14787aefb4379d;hpb=e5e12acc5698090f2c0c614385e457cc0b46fbb0;p=ardour.git diff --git a/libs/gtkmm2ext/selector.cc b/libs/gtkmm2ext/selector.cc index 97f468707b..04fbd13001 100644 --- a/libs/gtkmm2ext/selector.cc +++ b/libs/gtkmm2ext/selector.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 1999 Paul Barton-Davis + Copyright (C) 1999 Paul Barton-Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -157,7 +157,7 @@ Selector::chosen () { Glib::RefPtr tree_sel = tview.get_selection(); Gtk::TreeModel::iterator iter = tree_sel->get_selected(); - + if (iter) { choice_made (new Result (tview, tree_sel)); } else {