mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
don't get into nested run loops if quantize is reinvoked (e.g control surface) while already in progress
This commit is contained in:
parent
72e2935842
commit
9c2a517cb0
1 changed files with 5 additions and 0 deletions
|
|
@ -5374,6 +5374,11 @@ Editor::quantize_regions (const RegionSelection& rs)
|
|||
quantize_dialog = new QuantizeDialog (*this);
|
||||
}
|
||||
|
||||
if (quantize_dialog->is_mapped()) {
|
||||
/* in progress already */
|
||||
return;
|
||||
}
|
||||
|
||||
quantize_dialog->present ();
|
||||
const int r = quantize_dialog->run ();
|
||||
quantize_dialog->hide ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue