Modify path only if save succeed

This commit is contained in:
Cédric Krier committed 2011-04-14 16:30:37 +02:00
1 parent fbdc2ed992
commit cf9c5ddcda
1 file changed
+1 -1
+1 -1
View File
@@ -474,7 +474,7 @@ class Screen(SignalEvent):
self.current_view.set_cursor()
self.current_view.display()
return False
if path:
if path and obj_id:
path = path[:-1] + ((path[-1][0], obj_id),)
self.current_record = self.group.get_by_path(path)
self.display()