Corretta gestione ceccamento
git-svn-id: svn://10.65.10.50/trunk@2912 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f8a011b2fe
commit
8f527d27da
@ -617,8 +617,9 @@ bool TSheet_control::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
||||
const long rec = row2rec(row);
|
||||
const short cid = column[col]->cid;
|
||||
if (cid >= FIRST_FIELD)
|
||||
{
|
||||
toggle(rec);
|
||||
{
|
||||
if (check_enabled())
|
||||
toggle(rec);
|
||||
// XI_OBJ cell; XI_MAKE_CELL(&cell, _obj, row, col);
|
||||
// xi_cell_request(&cell);
|
||||
}
|
||||
@ -876,7 +877,8 @@ bool TSheet::tutti_handler(TMask_field& f, KEY k)
|
||||
if (k == K_SPACE)
|
||||
{
|
||||
TSheet& s = (TSheet&)f.mask();
|
||||
s.check(-1, !s.one_checked());
|
||||
if (s.check_enabled())
|
||||
s.check(-1, !s.one_checked());
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user