Fix loudness dialog window stacking

This commit is contained in:
Robin Gareus 2020-07-22 00:00:29 +02:00
parent fa495b7727
commit 3416af3969
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 6 additions and 4 deletions

View file

@ -188,10 +188,10 @@ LoudnessDialog::start_analysis ()
}
bool
LoudnessDialog::on_delete_event (GdkEventAny*)
LoudnessDialog::on_delete_event (GdkEventAny* ev)
{
cancel_analysis ();
return true;
return ArdourDialog::on_delete_event (ev);
}
int
@ -295,10 +295,9 @@ LoudnessDialog::analyze ()
void
LoudnessDialog::display_report ()
{
hide ();
ExportReport er ("Export Loudness Report", _status->result_map);
er.set_transient_for (*this);
er.run();
show ();
}
void