mask.cpp Tolta e aggiunta parentesi (stando al diff)
relapp.cpp Migliorato supporto per messaggio LN git-svn-id: svn://10.65.10.50/trunk@4270 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f9fcacdf75
commit
633724c4d8
include
@ -573,7 +573,7 @@ bool TMask::stop_run(
|
||||
|
||||
// @comm Permette di chiudere la maschera come se l'utente avesse premuto il tasto <p key>.
|
||||
// Nel caso la maschera non si chiuda (es. un check fallito), ritorna FALSE.
|
||||
{
|
||||
{
|
||||
if (key != K_AUTO_ENTER && key != K_FORCE_CLOSE)
|
||||
{
|
||||
const int last = fields();
|
||||
|
@ -749,8 +749,19 @@ bool TRelation_application::main_loop()
|
||||
k = K_ENTER;
|
||||
break;
|
||||
case K_ENTER:
|
||||
if (find(0)) modify_mode();
|
||||
else insert_mode();
|
||||
if (_lnflag)
|
||||
{
|
||||
for (k = 1; k <= MAX_KEYS && !test_key(k, FALSE); k++);
|
||||
if (k <= MAX_KEYS && find(k))
|
||||
modify_mode();
|
||||
else
|
||||
k = K_QUIT;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (find(0)) modify_mode();
|
||||
else insert_mode();
|
||||
}
|
||||
break;
|
||||
case K_SAVE:
|
||||
if (save(FALSE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user