Skip to content

Commit

Permalink
Changed Clicking Signal for Category
Browse files Browse the repository at this point in the history
  • Loading branch information
mechPenSketch committed Feb 26, 2022
1 parent 1bd043f commit 6d4bcc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/database/main_screen/Category.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ margin_bottom = 564.0
size_flags_horizontal = 3
tabs_visible = false

[connection signal="item_activated" from="VBoxContainer/HSplitContainer/VBoxContainer/ItemList" to="." method="_on_item_activated"]
[connection signal="item_selected" from="VBoxContainer/HSplitContainer/VBoxContainer/ItemList" to="." method="_on_item_selected"]
2 changes: 1 addition & 1 deletion addons/database/main_screen/category_tab.gd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func update_file_list(dir_path:String):
_:
print(sub_oe)

func _on_item_activated(i):
func _on_item_selected(i):
$VBoxContainer/HSplitContainer/TabContainer.set_current_tab(i)

func save_resource():
Expand Down
2 changes: 1 addition & 1 deletion addons/database/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Database"
description="A scene tab dedicated to editing data."
author="mechPenSketch"
version="1.0 Alpha"
version="0.1-alpha"
script="plugin.gd"

0 comments on commit 6d4bcc4

Please sign in to comment.