OSSP CVS Repository

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

Check-in Number: 3924
Date: 2003-Jan-21 13:38:01 (local)
2003-Jan-21 12:38:01 (UTC)
User:ms
Branch:
Comment: Bugfix for very inconvenient edit control update failure.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_gui.h      1.59 -> 1.60     1 inserted, 1 deleted
ossp-pkg/as/as-gui/as_slot.cpp      1.78 -> 1.79     1 inserted, 0 deleted

ossp-pkg/as/as-gui/as_gui.h 1.59 -> 1.60

--- as_gui.h     2003/01/16 08:26:29     1.59
+++ as_gui.h     2003/01/21 12:38:01     1.60
@@ -163,7 +163,7 @@
     void aboutQt(void);                 // Learn more about Qt
     void selAll(void);                  // Edit menu select all
     void inplaceEdit(int, int, int, const QPoint &); // Enter in place edit mode
-    void updEdit(int, int);             // Update edit controls
+    void updEdit(int, int nCol = 0);    // Update edit controls
     void validateData(int, int);        // Validate one row of matrix data
     void updSizes(int, int, int);       // Update edit sizes
     void dataChanged(int, int);         // Timesheet data changed


ossp-pkg/as/as-gui/as_slot.cpp 1.78 -> 1.79

--- as_slot.cpp  2003/01/16 08:37:40     1.78
+++ as_slot.cpp  2003/01/21 12:38:01     1.79
@@ -174,6 +174,7 @@
     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];

CVSTrac 2.0.1