Corretta reset degli sheet

git-svn-id: svn://10.65.10.50/trunk@2396 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1996-01-05 15:19:23 +00:00
parent b799d17f08
commit 79beff094f

View File

@ -856,7 +856,7 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
char* dst = xiev->v.cell_request.s;
if (src && *src)
{
const int& len = xiev->v.cell_request.len;
const int len = xiev->v.cell_request.len;
strncpy(dst, src, len);
}
else
@ -1795,6 +1795,8 @@ void TSheet_field::reset()
{
_sheet->destroy();
_sheet->sheet_mask().reset();
set_dirty(); // Reset any error (dirty = 3)
set_dirty(mask().is_running()); // Set dirty state based on mask status
force_update();
}