ossp-pkg/as/as-gui/as_dataop.cpp 1.55 -> 1.56
--- as_dataop.cpp 2004/08/20 17:47:07 1.55
+++ as_dataop.cpp 2004/08/26 19:12:48 1.56
@@ -348,9 +348,9 @@
for (int nIter = m_pMaintable->numRows() - 1; nIter >= 0; nIter--)
m_pMaintable->setText(nIter, TITRAQ_IDXLINE, QString::number(nIter).rightJustify(4, QChar('0')));
- m_pMaintable->setUpdatesEnabled(true); // Update and repaint
m_pMaintable->setNumRows(nIter); // No excess rows
m_pMaintable->setCurrentCell(nIter - 1, 0); // Move focus to last row
+ m_pMaintable->setUpdatesEnabled(true); // Update
m_pMaintable->ensureCellVisible(nIter - 1, 0); // Scroll please
if (!bValid)
|
|