mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
GtkFileChooserButton should emit a signal when a file is selected from the combobox
This commit is contained in:
parent
cecac3d895
commit
1c19b6cfd9
1 changed files with 4 additions and 1 deletions
|
|
@ -614,8 +614,11 @@ gtk_file_chooser_button_select_file (GtkFileChooser *chooser,
|
|||
update_label_and_image (button);
|
||||
update_combo_box (button);
|
||||
|
||||
if (priv->active)
|
||||
if (priv->active) {
|
||||
gtk_file_chooser_select_file (GTK_FILE_CHOOSER (priv->dialog), file, NULL);
|
||||
} else {
|
||||
g_signal_emit (button, file_chooser_button_signals[FILE_SET], 0);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue