Patch level : 10.0

Files correlati     : ba0.exe
Ricompilazione Demo : [ ]
Commento            :
Corretta gestione maschera di cambio studio


git-svn-id: svn://10.65.10.50/trunk@19762 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-12-14 09:05:04 +00:00
parent 99f205b04c
commit 9a628e9eff

View File

@ -1648,6 +1648,8 @@ bool TStudy_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
send_key(K_F9, DLG_USER, &o);
break;
case DLG_USER:
if (e == fe_init)
o.set(firm2dir(-1));
if (e == fe_modify || e == fe_close)
{
TFilename path(o.get());
@ -1694,7 +1696,7 @@ bool TStudy_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
sht.rows_array().TArray::sort(dir_sort);
if (sht.run() == K_ENTER)
o.set(sht.row(-1)); // -1 = selected row
o.set(sht.row(-1).get(0)); // -1 = selected row
}
break;
default: