Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion material_maker/widgets/tabs/tabs.gd
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ func move_active_tab_to(idx_to) -> void:
current_tab = idx_to

func set_tab_title(index, title) -> void:
$TabBar.set_tab_title(index, title)
if $TabBar.get_tab_count() != 0:
$TabBar.set_tab_title(index, title)

func get_current_tab_control() -> Node:
if current_tab >= 0 and current_tab < $TabBar.get_tab_count():
Expand Down