mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Skip updating options for hidden file-dialog
This may also fix an edge-case issue where changing track selection combined with invalid file selection may trigger a bad_file_message.
This commit is contained in:
parent
2bb22d2a14
commit
a58f7caca1
1 changed files with 5 additions and 2 deletions
|
|
@ -855,6 +855,7 @@ void
|
||||||
SoundFileBrowser::on_show ()
|
SoundFileBrowser::on_show ()
|
||||||
{
|
{
|
||||||
ArdourWindow::on_show ();
|
ArdourWindow::on_show ();
|
||||||
|
reset_options ();
|
||||||
start_metering ();
|
start_metering ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2028,13 +2029,15 @@ SoundFileOmega::reset (uint32_t selected_audio_tracks, uint32_t selected_midi_tr
|
||||||
chooser.set_filter (audio_and_midi_filter);
|
chooser.set_filter (audio_and_midi_filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
reset_options ();
|
if (is_visible()) {
|
||||||
|
reset_options ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SoundFileOmega::file_selection_changed ()
|
SoundFileOmega::file_selection_changed ()
|
||||||
{
|
{
|
||||||
if (resetting_ourselves) {
|
if (resetting_ourselves || !is_visible ()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue