Skip to content

Commit

Permalink
patch output warning when disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
illlustr committed Oct 7, 2023
1 parent 2dc871b commit 3c0d625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/nv.file_system/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="nv.file_system"
description="Enable Editor File System to dock at the bottom panel, similar to the layout found in Unreal Engine / Unity."
author="NAIIVE"
version="1.0.0"
version="1.0.1"
script="plugin.gd"
3 changes: 3 additions & 0 deletions addons/nv.file_system/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ func _exit_tree() -> void:
# remove switch / toggle for FileSystem docking position
remove_tool_menu_item(TITLE_TOOL_MENU_ITEM)

if !docked:
return

# Move file system to left panel
remove_control_from_bottom_panel(file_system)
add_control_to_dock(EditorPlugin.DOCK_SLOT_LEFT_BR, file_system)
Expand Down

0 comments on commit 3c0d625

Please sign in to comment.