Corretto errore di unlocking in modo inserimento
git-svn-id: svn://10.65.10.50/trunk@1475 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
91adca2170
commit
bb80adfc60
@ -1,4 +1,4 @@
|
||||
// $Id: relapp.cpp,v 1.58 1995-06-05 16:04:50 alex Exp $
|
||||
// $Id: relapp.cpp,v 1.59 1995-06-13 16:27:55 guy Exp $
|
||||
#include <mailbox.h>
|
||||
#include <sheet.h>
|
||||
#include <urldefid.h>
|
||||
@ -612,9 +612,12 @@ bool TRelation_application::save(bool check_dirty)
|
||||
k = yesnocancel_box("Registrare %s?", ms);
|
||||
|
||||
if (k == K_ESC || k == K_NO)
|
||||
{
|
||||
get_relation()->restore_status();
|
||||
get_relation()->lfile().reread(_unlock); // Unlock main file
|
||||
{
|
||||
if (mode == MODE_MOD)
|
||||
{
|
||||
get_relation()->restore_status();
|
||||
get_relation()->lfile().reread(_unlock); // Unlock main file
|
||||
}
|
||||
was_dirty = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user