fix bad edit that caused simple proxy windows to fail/crash
This commit is contained in:
parent
f96a5c2a95
commit
128b374954
@ -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…
Reference in New Issue
Block a user