Set cursor with display call in switch view function
The widget must be displayed to be able to call set_cursor
This commit is contained in:
1 parent
73bb4adc63
commit
2ff8b46392
1 file changed
+1
-2
@@ -256,9 +256,8 @@ class Screen(SignalEvent):
|
||||
else:
|
||||
if self.current_view.view_type == 'form':
|
||||
self.new()
|
||||
self.current_view.set_cursor()
|
||||
self.current_view.cancel()
|
||||
self.display()
|
||||
self.display(set_cursor=True)
|
||||
|
||||
def load_view_to_load(self):
|
||||
if len(self.view_to_load):
|
||||
|
||||
Reference in new issue
Block a user