mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
fix issue with RAII RegionView::DisplaySuspender copy constructor
This commit is contained in:
parent
b8a6b97b49
commit
5ec7375884
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ public:
|
|||
DisplaySuspender (RegionView& rv) : region_view (rv) {
|
||||
region_view.disable_display ();
|
||||
}
|
||||
|
||||
DisplaySuspender (DisplaySuspender const & other) : region_view (other.region_view) {
|
||||
region_view.disable_display ();
|
||||
}
|
||||
|
||||
~DisplaySuspender () {
|
||||
region_view.enable_display ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue