X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fselector.cc;h=04fbd13001ea98672daa0d7f8e221dd730b3b14a;hb=f6e182b937efda6ed0ba50dbc02af98524beb61c;hp=e4b95d1e032b1c5fa2fea87d25110ebec8e8da2f;hpb=bb826f4beebfcedc50570b818c305560d2233e47;p=ardour.git diff --git a/libs/gtkmm2ext/selector.cc b/libs/gtkmm2ext/selector.cc index e4b95d1e03..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 @@ -25,8 +25,6 @@ #include #include -#include "pbd/pathscanner.h" - #include "gtkmm2ext/keyboard.h" #include "gtkmm2ext/selector.h" #include "gtkmm2ext/utils.h" @@ -159,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 {