Index: ossp-pkg/as/as-gui/as_assist.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v rcsdiff -q -kk '-r1.80' '-r1.81' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2003/01/16 08:26:29 1.80 +++ as_assist.cpp 2003/01/22 11:36:53 1.81 @@ -994,6 +994,6 @@ m_pSyncsoapact->setEnabled(bTurned); // Unconditional settings - this->updEdit(m_pMaintable->currentRow(), 0); // Update edit controls + this->updEdit(m_pMaintable->currentRow()); // Update edit controls m_pMaintable->setDirty(false); // Reset to clean data } Index: ossp-pkg/as/as-gui/as_slot.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v rcsdiff -q -kk '-r1.79' '-r1.80' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2003/01/21 12:38:01 1.79 +++ as_slot.cpp 2003/01/22 11:36:53 1.80 @@ -103,6 +103,8 @@ // Do basic data validation to warn against missing fields for (int nIter = 0; nIter < nRows; nIter++) this->validateData(m_pMaintable->currentRow() + nIter, 0); + + updEdit(m_pMaintable->currentRow()); // Reflect in the update controls } } @@ -146,6 +148,7 @@ // m_pMaintable->setText(Select.topRow() + nIter, TITRAQ_IDXTASK, "/"); // m_pMaintable->setText(Select.topRow() + nIter, TITRAQ_IDXREMARK, "Remark"); } + updEdit(Select.topRow()); // Reflect in the update controls } else { // Special case on last row add downwards m_pMaintable->insertRows(Select.bottomRow() + 1, nTotal); @@ -168,13 +171,13 @@ // m_pMaintable->setText(Select.bottomRow() + nIter, TITRAQ_IDXTASK, "/"); // m_pMaintable->setText(Select.bottomRow() + nIter, TITRAQ_IDXREMARK, "Remark"); } + updEdit(Select.bottomRow() + 1); // Reflect in the update controls } // Update line numbers for this new row and all subsequent rows for (int nIter = m_pMaintable->currentRow(); nIter < m_pMaintable->numRows(); nIter++) m_pMaintable->setText(nIter, TITRAQ_IDXLINE, QString::number(nIter).rightJustify(4, QChar('0'))); - updEdit(Select.topRow()); // Reflect in the update controls m_pStatusedit->setPixmap(QPixmap(s_kpcStatwarn_xpm)); // Show pixmap // char szGuitext[37]; @@ -268,7 +271,7 @@ this->setCaption(trUtf8("No file name")); m_pStatbar->message(trUtf8("New document"), 4000); this->setFilename(""); - this->updEdit(0, 0); // Update edit controls + this->updEdit(0); // Update edit controls } //