diff options
Diffstat (limited to 'src/gui/LoadGraphWindow.cpp')
-rw-r--r-- | src/gui/LoadGraphWindow.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gui/LoadGraphWindow.cpp b/src/gui/LoadGraphWindow.cpp index 064b728e..8b5f1f84 100644 --- a/src/gui/LoadGraphWindow.cpp +++ b/src/gui/LoadGraphWindow.cpp @@ -77,13 +77,15 @@ LoadGraphWindow::LoadGraphWindow(BaseObjectType* cobject, signal_selection_changed().connect( sigc::mem_fun(this, &LoadGraphWindow::selection_changed)); - Gtk::FileFilter filt; - filt.add_pattern("*.ttl"); - filt.set_name("Ingen graph files (*.ttl)"); - filt.add_pattern("*.ingen"); - filt.set_name("Ingen bundles (*.ingen)"); - - set_filter(filt); + Gtk::FileFilter file_filter; + file_filter.add_pattern("*.ttl"); + file_filter.set_name("Ingen graph files (*.ttl)"); + add_filter(file_filter); + + Gtk::FileFilter bundle_filter; + bundle_filter.add_pattern("*.ingen"); + bundle_filter.set_name("Ingen bundles (*.ingen)"); + add_filter(bundle_filter); property_select_multiple() = true; |