diff --git a/ve/ve0100.cpp b/ve/ve0100.cpp index 0331d67bf..81a5299aa 100755 --- a/ve/ve0100.cpp +++ b/ve/ve0100.cpp @@ -151,12 +151,15 @@ void TMotore_application::init_insert_mode( TMask& m ) m.disable(DLG_EMAIL); m.disable(DLG_ELABORA); - if (curdo.tipo().auto_add()) + TSheet_field& ss = dm.sfield(F_SHEET); + + if (curdo.tipo().auto_add()) { - TSheet_field& ss = dm.sfield(F_SHEET); for (int i = 0; i < 10; i++) ss.insert(-1, false, true); } + else + ss.destroy(); dm.mask2doc(); }