isolto conflitto in cell_disabled

git-svn-id: svn://10.65.10.50/trunk@1927 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
matteo 1995-10-06 13:55:48 +00:00
parent a050caf1cf
commit 2110aeebac

View File

@ -900,7 +900,10 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
ok = notify(_cur_rec, K_ENTER); // Notify edit
}
if (ok)
{
xvt_statbar_refresh();
_edit_field = NULL; // Reset current field
}
else
{
_edit_field = old; // Restore currrent field
@ -1476,7 +1479,6 @@ void TSpreadsheet::set_column_header(const int col, const TString& header) cons
bool TSpreadsheet::cell_disabled(int row, int column) const
{
TBit_array* ba = (TBit_array*)_disabled.objptr(row);
bool d;
if (column < 0)
d = ba == NULL ? FALSE : (ba->ones() == columns()-1);