summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-26 13:33:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-26 13:33:18 +0000
commit11878127f882b154aa726163f52c1de5dcbbc76c (patch)
treef46fc74112270cebc7fa49305c09399652c41f49 /gtk2_ardour
parentc8b70602e7f9b3c9646e7aca339aef708a6645bd (diff)
fix for file selection problem in import file browser on OS X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5280 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/sfdb_ui.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index e1481a19fc..7dd4c9f10b 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -424,6 +424,10 @@ SoundFileBrowser::SoundFileBrowser (Gtk::Window& parent, string title, ARDOUR::S
chooser.set_select_multiple (true);
chooser.signal_update_preview().connect(mem_fun(*this, &SoundFileBrowser::update_preview));
chooser.signal_file_activated().connect (mem_fun (*this, &SoundFileBrowser::chooser_file_activated));
+#ifdef GTKOSX
+ /* some broken redraw behaviour - this is a bandaid */
+ chooser.signal_selection_changed().connect (mem_fun (chooser, &Widget::queue_draw));
+#endif
if (!persistent_folder.empty()) {
chooser.set_current_folder (persistent_folder);