Fix crash when starting drag&drop with invalid control state (detached from window)

This commit is contained in:
Wojtek Figat
2023-04-17 12:36:59 +02:00
parent 4449f1ddcf
commit e9bdc8b319

View File

@@ -987,7 +987,7 @@ namespace FlaxEngine.GUI
{
// Hide tooltip
Tooltip?.Hide();
Root.DoDragDrop(data);
Root?.DoDragDrop(data);
}
#endregion