diff options
author | Hayden Leete <haydenleete@gmail.com> | 2023-03-08 19:22:58 +1300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-13 14:15:18 +0100 |
commit | 7490f892387662bc14b77b4992fe66a9c678fb5c (patch) | |
tree | 1d1489260bc071a1407bdd4140f494f3ea49a36b /modules/gdscript/gdscript_byte_codegen.h | |
parent | 41f4068a6e81f5f0e94428ddc04330f6a154ee70 (diff) |
Fix crash when revealing file in floating FileSystem Dock
When selecting "Show in FileSystem" from the context menu of a resource
in the inspector, the engine would crash if the FileSystem dock was
floating because it was trying to focus the FileSystem tab, but floating
docks don't use Tab Containers. This commit makes the FileSystem dock's
window grab focus instead if it's floating.
(cherry picked from commit c4d1513e15e1f3e599030a98cf425177c3d1eb24)
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.h')
0 files changed, 0 insertions, 0 deletions