Corretto loop infinito della maschera di ricerca
git-svn-id: svn://10.65.10.50/trunk@1110 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c73b60184c
commit
8c143f6348
@ -1186,7 +1186,7 @@ bool TPrimanota_application::caus_query_handler(TMask_field& f, KEY key)
|
|||||||
if (i != iva_errata)
|
if (i != iva_errata)
|
||||||
{
|
{
|
||||||
const bool ok = suspended_handler(f, key); // Controlla sospensione
|
const bool ok = suspended_handler(f, key); // Controlla sospensione
|
||||||
if (ok)
|
if (ok && key == K_TAB)
|
||||||
f.mask().stop_run(K_INS); // Entra in modo inserimento
|
f.mask().stop_run(K_INS); // Entra in modo inserimento
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -259,10 +259,8 @@ bool TPrimanota_application::read_scadenze(const TMask& m)
|
|||||||
|
|
||||||
char sezione = _rel->cg(0).get_char("SEZIONE"); // Dare/Avere
|
char sezione = _rel->cg(0).get_char("SEZIONE"); // Dare/Avere
|
||||||
char tipocf = _rel->cg(0).get_char("TIPOC"); // Cliente || Fornitore || Uncazzo
|
char tipocf = _rel->cg(0).get_char("TIPOC"); // Cliente || Fornitore || Uncazzo
|
||||||
int gruppo = (tipocf == 'C' || tipocf == 'F') ? 0 :
|
int gruppo = (tipocf == 'C' || tipocf == 'F') ? 0 : _rel->cg(0).get_char("GRUPPO");
|
||||||
_rel->cg(0).get_char("GRUPPO");
|
int conto = (tipocf == 'C' || tipocf == 'F') ? 0 : _rel->cg(0).get_char("CONTO");
|
||||||
int conto = (tipocf == 'C' || tipocf == 'F') ? 0 :
|
|
||||||
_rel->cg(0).get_char("CONTO");
|
|
||||||
long sottoconto = _rel->cg(0).get_long("SOTTOCONTO");
|
long sottoconto = _rel->cg(0).get_long("SOTTOCONTO");
|
||||||
int nriga = 1;
|
int nriga = 1;
|
||||||
int numrig = 1;
|
int numrig = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user