mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 10:20:07 +00:00
Add the ability to selectively disallow certain panels from floating
This commit is contained in:
1 parent
8b760ced92
commit
e336cab5ae
2 files changed
+7
No files matched your search
@@ -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