|
|
@ -89,6 +89,10 @@ func setup_setting_widget(category: String, setting: String, setup_events: bool) |
|
|
|
if widget is SpinBox: widget.value_changed.connect( |
|
|
|
if widget is SpinBox: widget.value_changed.connect( |
|
|
|
func(number): modify_setting(setting, roundi(number))) |
|
|
|
func(number): modify_setting(setting, roundi(number))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We don't make any use of these, so ... dummy values? |
|
|
|
|
|
|
|
widget.set_meta("default", get(setting)) |
|
|
|
|
|
|
|
widget.set_meta("reset_button", { }) |
|
|
|
|
|
|
|
|
|
|
|
func setup_button_connections() -> void: |
|
|
|
func setup_button_connections() -> void: |
|
|
|
var settings := get_settings_window() |
|
|
|
var settings := get_settings_window() |
|
|
|
settings.connect_join.pressed.connect(on_join_pressed) |
|
|
|
settings.connect_join.pressed.connect(on_join_pressed) |
|
|
|