Patch level : 12.0 no-patch
Files correlati : Commento : mask : Inizializzato nome del file di salvataggio dei valori di una maschera
This commit is contained in:
parent
e81b6eb4af
commit
7f298688c3
@ -72,10 +72,15 @@ void TMask::init_mask()
|
|||||||
_msg_key = 0;
|
_msg_key = 0;
|
||||||
_test_fld = -1;
|
_test_fld = -1;
|
||||||
_last_test = -1;
|
_last_test = -1;
|
||||||
_workfile = configdir();
|
|
||||||
_workfile.add(source_file());
|
|
||||||
_workfile.ext("sav");
|
|
||||||
|
|
||||||
|
const TString mask_name = source_file().name();
|
||||||
|
|
||||||
|
if (mask_name.full())
|
||||||
|
{
|
||||||
|
_workfile = configdir();
|
||||||
|
_workfile.add(source_file().name());
|
||||||
|
_workfile.ext("sav");
|
||||||
|
}
|
||||||
_toolwin = _toolbar = _notebook = _single = NULL_WIN;
|
_toolwin = _toolbar = _notebook = _single = NULL_WIN;
|
||||||
memset(_pagewin, 0, sizeof(_pagewin)); // Azzero lista pagine
|
memset(_pagewin, 0, sizeof(_pagewin)); // Azzero lista pagine
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user