File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,9 +150,9 @@ func _init() -> void:
150150
151151 debugger = BlockflowDebugger .new ()
152152
153+ command_record = Blockflow .CommandRecord .get_record ()
154+ project_settings_changed .connect (command_record .reload_from_project_settings )
155+
153156 # Add the plugin to the list when we're created as soon as possible.
154157 # Existing doesn't mean that plugin is ready, be careful with that.
155158 Engine .set_meta (Constants .PLUGIN_NAME , self )
156-
157- command_record = Blockflow .CommandRecord .new ()
158- project_settings_changed .connect (command_record .reload_from_project_settings )
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ var collection_displayer:CollectionDisplayer
6363var command_list :CommandList
6464var title_label :Label
6565var template_generator :TemplateGenerator
66+ var command_record :Blockflow .CommandRecord
6667
6768var edit_callback :Callable
6869var toast_callback :Callable
@@ -917,4 +918,6 @@ func _init() -> void:
917918 _file_dialog .file_selected .connect (_editor_file_dialog_file_selected )
918919 add_child (_file_dialog )
919920
921+ command_record = Blockflow .CommandRecord .new ()
922+
920923 Engine .set_meta ("Blockflow_main_editor" , self )
You can’t perform that action at this time.
0 commit comments