mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Add the ability to selectively disallow certain panels from floating
This commit is contained in:
@@ -811,6 +811,11 @@ void ToolWindowManager::finishDrag() {
|
||||
return;
|
||||
}
|
||||
if (m_suggestions.isEmpty()) {
|
||||
bool allowFloat = m_allowFloatingWindow;
|
||||
|
||||
for(QWidget *w : m_draggedToolWindows)
|
||||
allowFloat &= !(toolWindowProperties(w) & DisallowFloatWindow);
|
||||
|
||||
if (m_allowFloatingWindow)
|
||||
{
|
||||
QRect r;
|
||||
|
||||
Reference in New Issue
Block a user