Add EditingContext transient-parent

This is in preparation to allow EditNoteDialog, QuantizeDialog
etc to be on top of the Pianroll or Editor in question.
This commit is contained in:
Robin Gareus 2025-11-20 16:51:23 +01:00
parent f5d1792510
commit 768a6da017
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 6 additions and 0 deletions

View file

@ -455,6 +455,8 @@ protected:
virtual void _commit_tempo_map_edit (Temporal::TempoMap::WritableSharedPtr&, bool with_update) = 0;
std::atomic<int> _suspend_route_redisplay_counter;
Gtk::Window* transient_parent () { return current_toplevel (); }
};
class DisplaySuspender {