mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
ytk: do not show filter combo box in filechooser if there is only 1 filter
This commit is contained in:
parent
bb8f6a3d66
commit
181ba4db54
1 changed files with 1 additions and 1 deletions
|
|
@ -7744,7 +7744,7 @@ static void
|
|||
show_filters (GtkFileChooserDefault *impl,
|
||||
gboolean show)
|
||||
{
|
||||
if (show)
|
||||
if (show && impl->filters && g_slist_length (impl->filters) > 1)
|
||||
gtk_widget_show (impl->filter_combo_hbox);
|
||||
else
|
||||
gtk_widget_hide (impl->filter_combo_hbox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue