Don't reload ids if no action have being runned

This commit is contained in:
Cédric Krier committed 2008-07-23 16:32:10 +02:00
1 parent 151ceb0dd2
commit 58abc01df2
1 file changed
+2 -1
+2 -1
View File
@@ -342,7 +342,8 @@ class Form(SignalEvent):
'ids': ids,
'window': self.window,
}, context=ctx, alwaysask=True)
self.sig_reload(test_modified=False)
if res:
self.sig_reload(test_modified=False)
else:
self.message_state(_('No record selected!'))