ossp-pkg/as/as-gui/as_dataop.cpp 1.13 -> 1.14
--- as_dataop.cpp 2002/12/04 11:18:12 1.13
+++ as_dataop.cpp 2002/12/04 19:57:11 1.14
@@ -107,6 +107,8 @@
Asline.skipWhiteSpace(); // Remove whitespaces
Asline >> Account; // Copy the account field
if (Account != NULL) {
+ QTableItem *pOld = m_pMaintable->item(nIter, TITRAQ_IDXTASK);
+ delete(pOld); // Get rid of the old before going with the new
m_pMaintable->setItem(nIter, TITRAQ_IDXTASK, new RtTableItem(m_pMaintable, QTableItem::WhenCurrent, Account));
}
else
|
|