diff --git a/tools/configurator/main.tscn b/tools/configurator/main.tscn index fc7aefd6..1cffa336 100644 --- a/tools/configurator/main.tscn +++ b/tools/configurator/main.tscn @@ -425,7 +425,7 @@ show_percentage = false unique_name_in_owner = true custom_minimum_size = Vector2(375, 125) layout_mode = 2 -text = "RESET RETROCECK" +text = "RESET RETRODECK" icon = ExtResource("11_g1uhn") icon_alignment = 1 vertical_icon_alignment = 0 diff --git a/tools/configurator/scripts/TabGlobals.gd b/tools/configurator/scripts/TabGlobals.gd index 32f4b453..151a1ef4 100644 --- a/tools/configurator/scripts/TabGlobals.gd +++ b/tools/configurator/scripts/TabGlobals.gd @@ -78,17 +78,16 @@ func _do_complete(button: Button) ->void: "quick_rewind_button": class_functions.quick_rewind_state = "false" "reset_retrodeck_button": - print ("TESTS") var dir = DirAccess.open(class_functions.rd_conf.get_base_dir()) if dir is DirAccess: dir.rename(class_functions.rd_conf,class_functions.rd_conf.get_base_dir() + "/retrodeck.bak") dir.remove(class_functions.lockfile) - class_functions.change_global(["reset", "retrodeck"], "prepapre_component", button, "") + class_functions.change_global(["reset", "retrodeck"], "prepare_component", button, "") "reset_all_emulators_button": - print ("TESTS") var tmp_txt = button.text button.text = "RESETTING-NOW" - class_functions.change_global(["reset", "all"], "prepapre_component", button, "") + class_functions.change_global(["reset", "all"], "prepare_component", button, "") + await class_functions.wait(2.0) button.text = "RESET COMPLETED" await class_functions.wait(3.0) button.text = tmp_txt diff --git a/tools/configurator/scripts/class_functions.gd b/tools/configurator/scripts/class_functions.gd index b31abdc3..89776523 100644 --- a/tools/configurator/scripts/class_functions.gd +++ b/tools/configurator/scripts/class_functions.gd @@ -329,7 +329,6 @@ func change_global(parameters: Array, preset: String, button: Button, state: Str logger("d", "Exit code: %s" % result["exit_code"]) _: var command_parameter: Array = [preset, parameters] - print (preset, parameters) logger("d", "Change Global: %s System: %s" % command_parameter) var result: Dictionary = await run_thread_command(wrapper_command, command_parameter, false) logger("d", "Exit code: %s" % result["exit_code"])