relapp.cpp Corretto set_first_focus in caso di annullamento di Annulla

git-svn-id: svn://10.65.10.50/trunk@1881 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1995-09-22 12:30:14 +00:00
parent 0a0939e127
commit e5d890c40f
2 changed files with 2 additions and 3 deletions

View File

@ -40,7 +40,6 @@
#define CLI_CODSTAT "CODSTAT"
#define CLI_CODABI "CODABI"
#define CLI_CODCAB "CODCAB"
#define CLI_CODAGE "CODAGE"
#define CLI_SCONTO "SCONTO"
#define CLI_CODVAL "CODVAL"
#define CLI_RAGGRB "RAGGRB"

View File

@ -1,4 +1,4 @@
// $Id: relapp.cpp,v 1.66 1995-09-20 16:56:01 gianluca Exp $
// $Id: relapp.cpp,v 1.67 1995-09-22 12:30:14 guy Exp $
#include <mailbox.h>
#include <sheet.h>
#include <urldefid.h>
@ -593,7 +593,7 @@ bool TRelation_application::save(bool check_dirty)
if (w.empty())
w = "Campo inconsistente";
k = yesno_box("%s: annullare?", (const char *) w) ? K_ESC : K_NO;
if (k == K_NO) _mask->first_focus(-_mask->field(dirty).dlg());
if (k == K_ESC) _mask->first_focus(-_mask->field(dirty).dlg());
}
else k = K_ESC;
}