Fix set_cursor for last widget
This commit is contained in:
1 parent
280f93eaaa
commit
f100fda9a1
1 file changed
+1
-1
@@ -219,7 +219,7 @@ class ViewForm(ParserView):
|
||||
if not modelfield:
|
||||
continue
|
||||
if not modelfield.get_state_attrs(model).get('valid', True):
|
||||
if widget.widget.position >= position:
|
||||
if widget.widget.position > position:
|
||||
continue
|
||||
position = widget.widget.position
|
||||
focus_widget = widget
|
||||
|
||||
Reference in new issue
Block a user