mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
fix bad edit that caused simple proxy windows to fail/crash
This commit is contained in:
parent
f96a5c2a95
commit
128b374954
1 changed files with 3 additions and 3 deletions
|
|
@ -161,12 +161,12 @@ class WindowManager
|
|||
}
|
||||
|
||||
T* operator->() {
|
||||
/* make return null */
|
||||
return dynamic_cast<T*> (_window);
|
||||
return dynamic_cast<T*> (get(true));
|
||||
}
|
||||
|
||||
ARDOUR::SessionHandlePtr* session_handle () {
|
||||
return dynamic_cast<T*> (get());
|
||||
/* may return null */
|
||||
return dynamic_cast<T*> (_window);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue