Patch level : 12.0 750

Files correlati     : cg2100
Commento            : Corretta uscita se non sto registrando
This commit is contained in:
Simone Palacino 2019-03-27 15:21:59 +01:00
parent 4ce25166c6
commit 7ead07f3ae

View File

@ -2283,7 +2283,7 @@ void TPrimanota_application::mask2ini(const TMask& msk, TConfig& ini)
bool TPrimanota_application::save_fppro() const
{
const KEY last = curr_mask().last_key();
if (last == K_ESC || last == K_QUIT || last == K_F9 || last == K_INS) // Salto se sto uscendo
if (last != K_SAVE) // Salto se sto uscendo
return true;
// Provo a vedere se hanno l'FP: se c'è l'indirizzo controllo che non sia F8 se non c'è non hanno l'FP
if (!fexist("fp0.exe") || fp_settings().get_db_indirizzo().empty() || fp_settings().is_f8())