Sbloccato record per esc
git-svn-id: svn://10.65.10.50/trunk@1440 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a9ce519d38
commit
3aecbc393c
@ -1,4 +1,4 @@
|
|||||||
// $Id: relapp.cpp,v 1.57 1995-05-18 14:17:56 guy Exp $
|
// $Id: relapp.cpp,v 1.58 1995-06-05 16:04:50 alex Exp $
|
||||||
#include <mailbox.h>
|
#include <mailbox.h>
|
||||||
#include <sheet.h>
|
#include <sheet.h>
|
||||||
#include <urldefid.h>
|
#include <urldefid.h>
|
||||||
@ -611,12 +611,7 @@ bool TRelation_application::save(bool check_dirty)
|
|||||||
else
|
else
|
||||||
k = yesnocancel_box("Registrare %s?", ms);
|
k = yesnocancel_box("Registrare %s?", ms);
|
||||||
|
|
||||||
if (k == K_ESC)
|
if (k == K_ESC || k == K_NO)
|
||||||
{
|
|
||||||
was_dirty = TRUE;
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
if (k == K_NO)
|
|
||||||
{
|
{
|
||||||
get_relation()->restore_status();
|
get_relation()->restore_status();
|
||||||
get_relation()->lfile().reread(_unlock); // Unlock main file
|
get_relation()->lfile().reread(_unlock); // Unlock main file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user