code: toggling DESCR include refresh search if any
This commit is contained in:
parent
686c44ef9a
commit
c7fc65a5aa
|
@ -146,3 +146,8 @@ func _on_Cancel_pressed():
|
||||||
func _on_Control_resized():
|
func _on_Control_resized():
|
||||||
if Tree:
|
if Tree:
|
||||||
Tree.rect_size = self.rect_size
|
Tree.rect_size = self.rect_size
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Search_Descr_pressed():
|
||||||
|
if root_tree:
|
||||||
|
_on_LineEdit_text_entered($Panel/LineEdit.text)
|
||||||
|
|
|
@ -94,5 +94,6 @@ text = "Cancel"
|
||||||
[connection signal="text_entered" from="Panel/LineEdit" to="." method="_on_LineEdit_text_entered"]
|
[connection signal="text_entered" from="Panel/LineEdit" to="." method="_on_LineEdit_text_entered"]
|
||||||
[connection signal="item_selected" from="Panel/Tree" to="." method="_on_Tree_multi_selected"]
|
[connection signal="item_selected" from="Panel/Tree" to="." method="_on_Tree_multi_selected"]
|
||||||
[connection signal="pressed" from="Panel/Button" to="." method="_on_Button_pressed"]
|
[connection signal="pressed" from="Panel/Button" to="." method="_on_Button_pressed"]
|
||||||
|
[connection signal="pressed" from="Panel/Search_Descr" to="." method="_on_Search_Descr_pressed"]
|
||||||
[connection signal="pressed" from="ConsolePanel/Accept" to="." method="_on_Accept_pressed"]
|
[connection signal="pressed" from="ConsolePanel/Accept" to="." method="_on_Accept_pressed"]
|
||||||
[connection signal="pressed" from="ConsolePanel/Cancel" to="." method="_on_Cancel_pressed"]
|
[connection signal="pressed" from="ConsolePanel/Cancel" to="." method="_on_Cancel_pressed"]
|
||||||
|
|
Loading…
Reference in New Issue