Patch level : 12.0 nopatch
Files correlati : ba1101.cpp Bugfix per l'aggiunta di una nuova colonna negli archivi
This commit is contained in:
parent
d044364a35
commit
6cc90a4a7d
@ -286,17 +286,17 @@ void TRec_sheet::edit()
|
||||
case K_SAVE:
|
||||
{
|
||||
nfields = f1.items();
|
||||
int nf = 0;
|
||||
// int nf = 0;
|
||||
for (i = 0; i < nfields; i++)
|
||||
{
|
||||
TToken_string s(f1.row(i));
|
||||
|
||||
if (s.items() > 4)
|
||||
/* if (s.items() > 4)
|
||||
s.destroy(-2);
|
||||
if (s.items() > 0)
|
||||
_rec.update_fielddef(nf++, s);
|
||||
if (s.items() > 0) */
|
||||
_rec.update_fielddef(i, s);
|
||||
}
|
||||
_rec.set_fields(nf);
|
||||
_rec.set_fields(nfields);
|
||||
_rec.rehash();
|
||||
nkeys = f2.items();
|
||||
_rec.set_keys(nkeys);
|
||||
|
Loading…
x
Reference in New Issue
Block a user