OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_dataop.cpp versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_dataop.cpp 1.6 -> 1.7

--- as_dataop.cpp        2002/11/24 23:11:56     1.6
+++ as_dataop.cpp        2002/11/26 14:10:32     1.7
@@ -75,10 +75,9 @@
         nIter++; // The big increment
     }
 
-    m_pMaintable->setUpdatesEnabled(true);  // Repaint all
-    m_pMaintable->setNumRows(nIter - 1);    // Trim unneeded rows
-    m_pRemark->setText(trUtf8("Loaded text goes here"));
-    m_pRemark->setEdited(false);            // Reset widget
+    m_pMaintable->setUpdatesEnabled(true);      // Update and repaint
+    m_pMaintable->setNumRows(nIter - 1);        // Trim excess rows
+    m_pMaintable->setCurrentCell(nIter - 1, 0); // Move focus to last row
 
     if (!bValid)
         throw Genexcept("Warning, invalid accounting data.");

CVSTrac 2.0.1