This commit is contained in:
teebarjunk 2021-10-18 15:29:57 -04:00
parent 19cb94742d
commit f2ae9db115
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
tool
extends "res://addons/text_editor/TE_RichTextLabel.gd"
func msg(msg):

View File

@ -265,7 +265,6 @@ func load_state():
yield(get_tree(), "idle_frame")
if selected:
emit_signal("file_selected", selected.file_path)
func _load_property(state:Dictionary, property:String, merge:bool=false):
if property in state and typeof(state[property]) == typeof(self[property]):
@ -358,6 +357,8 @@ func _menu_view_file(index:int):
if ext in exts_enabled:
exts_enabled[ext] = not exts_enabled[ext]
popup_view_file.set_item_checked(index, exts_enabled[ext])
else:
print("no %s in %s" % [ext, exts_enabled])
refresh_files()
save_state()