Restore catalog search focus on reopen (#131)
This commit is contained in:
parent
44ccd1da75
commit
26b5b5d62f
2 changed files with 14 additions and 1 deletions
|
|
@ -520,6 +520,14 @@ func _validate_page() -> void:
|
|||
await process_frame
|
||||
assert(index_body.visible)
|
||||
assert(not initial_detail_body.visible)
|
||||
page.deactivate()
|
||||
page.activate()
|
||||
page.reset_controller_zone()
|
||||
for _frame: int in 2:
|
||||
await process_frame
|
||||
var index_search := page.get("_index_search") as LineEdit
|
||||
assert(index_search.focus_mode == Control.FOCUS_ALL)
|
||||
assert(root.gui_get_focus_owner() == index_search)
|
||||
assert((page.get("_index_option_buttons") as Dictionary).size() == 10)
|
||||
_validate_index_content_bounds(page)
|
||||
page.call(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue