Don't set the following dialogs to be transients for the editor:

Control point dialog
Edit note dialog
Both types of tempo dialog
Both types of meter dialog.
This commit is contained in:
nick_m 2015-03-14 03:52:03 +11:00
parent 5090934a2c
commit 88e5fccbf1
2 changed files with 0 additions and 10 deletions

View File

@ -1925,7 +1925,6 @@ Editor::edit_control_point (ArdourCanvas::Item* item)
}
ControlPointDialog d (p);
ensure_float (d);
if (d.run () != RESPONSE_ACCEPT) {
return;
@ -1945,7 +1944,6 @@ Editor::edit_notes (MidiRegionView* mrv)
EditNoteDialog* d = new EditNoteDialog (mrv, s);
d->show_all ();
ensure_float (*d);
d->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &Editor::note_edit_done), d));
}

View File

@ -196,8 +196,6 @@ Editor::mouse_add_new_tempo_event (framepos_t frame)
//this causes compiz to display no border.
//tempo_dialog.signal_realize().connect (sigc::bind (sigc::ptr_fun (set_decoration), &tempo_dialog, Gdk::WMDecoration (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH)));
ensure_float (tempo_dialog);
switch (tempo_dialog.run()) {
case RESPONSE_ACCEPT:
break;
@ -238,8 +236,6 @@ Editor::mouse_add_new_meter_event (framepos_t frame)
//this causes compiz to display no border..
//meter_dialog.signal_realize().connect (sigc::bind (sigc::ptr_fun (set_decoration), &meter_dialog, Gdk::WMDecoration (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH)));
ensure_float (meter_dialog);
switch (meter_dialog.run ()) {
case RESPONSE_ACCEPT:
break;
@ -290,8 +286,6 @@ Editor::edit_meter_section (MeterSection* section)
{
MeterDialog meter_dialog (*section, _("done"));
ensure_float (meter_dialog);
switch (meter_dialog.run()) {
case RESPONSE_ACCEPT:
break;
@ -320,8 +314,6 @@ Editor::edit_tempo_section (TempoSection* section)
{
TempoDialog tempo_dialog (*section, _("done"));
ensure_float (tempo_dialog);
switch (tempo_dialog.run ()) {
case RESPONSE_ACCEPT:
break;