mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Don't allow dropping dockables onto the tabs where textures sit
This commit is contained in:
@@ -656,7 +656,7 @@ void ToolWindowManager::findSuggestions(ToolWindowManagerWrapper* wrapper) {
|
||||
m_suggestions << AreaReference(side, widget);
|
||||
}
|
||||
}
|
||||
if (area && area->rect().contains(area->mapFromGlobal(globalPos))) {
|
||||
if (area && area->allowUserDrop() && area->rect().contains(area->mapFromGlobal(globalPos))) {
|
||||
m_suggestions << AreaReference(AddTo, area);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user