13
0

fix bad edit that caused simple proxy windows to fail/crash

This commit is contained in:
Paul Davis 2013-05-06 11:44:59 -04:00
parent f96a5c2a95
commit 128b374954

View File

@ -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: