Patch level : 10.0 nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

corretto alt + senza focus


git-svn-id: svn://10.65.10.50/trunk@17341 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2008-10-02 15:19:59 +00:00
parent 485a1dba83
commit 1e9d8243a7

View File

@ -971,7 +971,7 @@ bool TMask::on_key(
if (f.is_sheet())
{
TSheet_field& s = (TSheet_field&)f;
const int newrow = s.append() ? -1 : ( _focus == fire ? s.selected() + 1: 0);
const int newrow = s.append() || s.empty() ? -1 : ( _focus == fire ? s.selected() + 1: 0);
notify_focus_field(s.dlg());
s.insert(newrow, true, true);