OSSP CVS Repository

ossp - Check-in [4117]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4117
Date: 2003-Apr-28 18:47:26 (local)
2003-Apr-28 16:47:26 (UTC)
User:ms
Branch:
Comment: Fixed a bug, causing a cancelled focus operation on rowadd.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_slot.cpp      1.137 -> 1.138     2 inserted, 0 deleted

ossp-pkg/as/as-gui/as_slot.cpp 1.137 -> 1.138

--- as_slot.cpp  2003/03/05 20:27:34     1.137
+++ as_slot.cpp  2003/04/28 16:47:26     1.138
@@ -220,6 +220,8 @@
 
     m_pMaintable->setUpdatesEnabled(true);  // Turn updates back on
     m_pMaintable->repaintContents(true);    // Do a general repaint of table
+    m_pMaintable->ensureCellVisible(m_pMaintable->currentRow() + nTotal - 1, m_pMaintable->currentColumn());
+    m_pMaintable->ensureCellVisible(m_pMaintable->currentRow(), m_pMaintable->currentColumn());
 
     // In case we added the first and only row entry,
     // do post state adjustments like icon undimming

CVSTrac 2.0.1