Index: ossp-pkg/as/as-gui/as_dataop.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v' 2>/dev/null --- as_dataop.cpp 2002/11/22 21:14:27 1.4 +++ as_dataop.cpp 2002/11/22 21:51:58 1.5 @@ -75,10 +75,9 @@ } m_pMaintable->setUpdatesEnabled(true); // Repaint all - m_pMaintable->setNumRows(i); // Trim unneeded rows - m_pMaintable->repaint(); // Force repaint + m_pMaintable->setNumRows(i - 1); // Trim unneeded rows m_pRemark->setText(trUtf8("Loaded text goes here")); - m_pRemark->setEdited(false); // Reset widget + m_pRemark->setEdited(false); // Reset widget if (!bValid) throw Genexcept("Warning, invalid accounting 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.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2002/11/22 21:14:27 1.9 +++ as_slot.cpp 2002/11/22 21:51:58 1.10 @@ -52,8 +52,7 @@ void Titraqform::newDoc(void) { // The only way in Qt 3.X to clear rows efficiently - m_pMaintable->setNumRows(0); // Get rid of any data in table - m_pMaintable->setNumRows(1); // ...and then add them back in + m_pMaintable->setNumRows(0); // Get rid of any data in table } // @@ -61,7 +60,7 @@ // void Titraqform::chooseFile(void) { - QString Filestring = QFileDialog::getOpenFileName("/export/home/mschloh/tmp/bifftest/ms.txt", QString::null, this, trUtf8("Chooser Dialog"), trUtf8("Choose a file to open")); + QString Filestring = QFileDialog::getOpenFileName("/e/dev/as", QString::null, this, trUtf8("Chooser Dialog"), trUtf8("Choose a file to open")); if (!Filestring.isEmpty()) { m_pMaintable->setNumRows(0); // Clear out old data QFile Filetemp(Filestring); // File to load