OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_assist.cpp 1.94 -> 1.95

--- as_assist.cpp        2003/02/03 10:57:57     1.94
+++ as_assist.cpp        2003/02/03 11:15:48     1.95
@@ -964,10 +964,12 @@
 void Titraqform::enableIface(bool bTurned)
 {
     // FIXME: Does not belong here, so relocate
-    if (!bTurned)                       // Turn off the interface
-        m_pMaintable->setNumRows(0);    // Remove table data
-    else                                // Turn on the interface
+    if (bTurned)                       // Turn off the interface
         m_pDateedit->setDayfocus();     // Default focus is on day
+    else {                              // Turn on the interface
+        m_pMaintable->setNumRows(0);    // Remove table data
+        m_pStatusedit->setPixmap(QPixmap(s_kpcStatvoid_xpm));
+    }
 
     // Enable or disable the widgets
     m_pMaintable->setEnabled(bTurned);
@@ -1001,7 +1003,6 @@
 #endif // HAVE_ESOAP
 
     // Unconditional settings
-    this->updEdit(m_pMaintable->currentRow());      // Update edit controls
     m_pMaintable->setDirty(false);                  // Reset to clean data
 }
 

CVSTrac 2.0.1