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:
Cédric Krier committed 2010-03-12 14:34:36 +01:00
1 parent 73bb4adc63
commit 2ff8b46392
1 file changed
+1 -2
+1 -2
View File
@@ -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):