Patch level :2.0 520
Files correlati :cg0.exe Ricompilazione Demo : [ ] Commento :GF700001 git-svn-id: svn://10.65.10.50/trunk@11311 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ed129ca42e
commit
87377b6c1d
@ -1280,11 +1280,18 @@ void TRelation_application::main_loop()
|
|||||||
case K_ENTER:
|
case K_ENTER:
|
||||||
if (_lnflag && _curr_transaction != TRANSACTION_RUN)
|
if (_lnflag && _curr_transaction != TRANSACTION_RUN)
|
||||||
{
|
{
|
||||||
for (k = 1; k <= MAX_KEYS && !test_key(k, FALSE); k++);
|
if (find(1))
|
||||||
if (k <= MAX_KEYS && find(k))
|
{
|
||||||
|
if (_curr_transaction != TRANSACTION_MODIFY)
|
||||||
|
_curr_transaction = TRANSACTION_MODIFY;
|
||||||
modify_mode();
|
modify_mode();
|
||||||
else
|
}
|
||||||
k = K_QUIT; // Siamo sicuri? insert_mode()
|
else
|
||||||
|
{
|
||||||
|
if (_curr_transaction != TRANSACTION_INSERT)
|
||||||
|
_curr_transaction = TRANSACTION_INSERT;
|
||||||
|
insert_mode();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user