Skip to content

Commit

Permalink
Start context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Yael Atletl committed Nov 7, 2019
1 parent b3d64e0 commit 1cbfcaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions UI.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ margin_bottom = 360.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 3
allow_rmb_select = true
drop_mode_flags = 2
select_mode = 2

Expand Down
4 changes: 2 additions & 2 deletions VBoxContainer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func create_layer(Name, icon):
var current = Layers.create_item(Layers.get_selected())
current.set_cell_mode(2,TreeItem.CELL_MODE_CHECK)
current.set_editable(2,true)
# current.set_selectable(1, false)
# current.set_selectable(0, false)
current.set_selectable(2, false)
current.set_selectable(0, false)
current.set_checked(2,true)
current.set_editable(1,true)
current.set_text (1, Name)
Expand Down

0 comments on commit 1cbfcaf

Please sign in to comment.