[Kst] kdeextragear-2/kst/kst/extensions/elog

Andrew Walker arwalker at sumusltd.com
Tue Mar 16 23:31:25 CET 2004


CVS commit by arwalker: 

Disable the ELOG entry dialog if we are not connected to an ELOG logbook.


  M +3 -2      elogconfiguration_i.cpp   1.5


--- kdeextragear-2/kst/kst/extensions/elog/elogconfiguration_i.cpp  #1.4:1.5
@@ -68,4 +68,5 @@ void ElogConfigurationI::initialize() {
     
   if( !_strIPAddress.isEmpty() ) {
+    _elog->entry()->setEnabled(FALSE);
     thread.run();
   }
@@ -106,10 +107,10 @@ void ElogConfigurationI::apply() {
   _elog->entry()->setEnabled(FALSE);
   saveSettings();
-  pushButtonApply->setEnabled(false);
+  pushButtonApply->setEnabled(FALSE);
   thread.run();
 }
 
 void ElogConfigurationI::change() {
-  pushButtonApply->setEnabled(true);
+  pushButtonApply->setEnabled(TRUE);
 }
 





More information about the Kst mailing list