Update table_pages.gd

Reset current_page to 0 when rows_per_page is changed.
This commit is contained in:
darloth 2023-03-19 17:12:37 +00:00 committed by GitHub
parent cc47e7ef73
commit 21cce7efcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,7 @@ func _on_button_pressed(button):
func _on_LineEdit_value_changed(value):
rows_per_page = value
current_page = 0
_update_view()