ДКМ от ДОУ
This commit is contained in:
@@ -126,7 +126,7 @@ func _ready() -> void:
|
||||
get_select_device.connect('item_selected', Callable(self, 'on_btn_select'))
|
||||
node_select_device.get_node2(0,0).text = 'ПРИБОР'
|
||||
node_select_device.set_columns_min_size([100, 100])
|
||||
|
||||
|
||||
# Получение выбранного прибора при загрузке
|
||||
if Constants.ADDRESSES.size() > 0:
|
||||
get_select_device.select(0)
|
||||
@@ -450,7 +450,7 @@ func _on_load_config():
|
||||
func set_tab_and_buttons(tab_index: int, button_name: String) -> void:
|
||||
$TabContainer.current_tab = tab_index
|
||||
var side_panel = $Background/side_panel
|
||||
|
||||
|
||||
for button in side_panel.get_children():
|
||||
if button is Button:
|
||||
button.button_pressed = (button.name == button_name)
|
||||
|
||||
Reference in New Issue
Block a user