Index: trunk/BNC/src/pppWidgets.cpp
===================================================================
--- trunk/BNC/src/pppWidgets.cpp	(revision 6747)
+++ trunk/BNC/src/pppWidgets.cpp	(revision 6748)
@@ -98,4 +98,7 @@
   connect(_dataSource, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(slotEnableWidgets()));
 
+  connect(_snxtroFile, SIGNAL(textChanged(const QString &)), 
+         this, SLOT(slotPPPTextChanged()));
+
   slotEnableWidgets();
 
@@ -352,4 +355,11 @@
   }
 
+  if ( _snxtroFile->text() != "" && !allDisabled) {
+    _snxtroSampl->setEnabled(true);    
+  }
+  else {
+    _snxtroSampl->setEnabled(false);    
+  }
+
   _dataSource->setEnabled(true);
 
@@ -396,2 +406,22 @@
 }
 
+//  PPP Text
+////////////////////////////////////////////////////////////////////////////
+void t_pppWidgets::slotPPPTextChanged(){
+
+  const static QPalette paletteWhite(QColor(255, 255, 255));
+  const static QPalette paletteGray(QColor(230, 230, 230));
+
+  // SNX TRO file sampling
+  // ---------------------
+  if (sender() == 0 || sender() == _snxtroFile) {
+    if ( _snxtroFile->text() != "" ) {  
+      _snxtroSampl->setEnabled(true);    
+      _snxtroSampl->setPalette(paletteWhite);
+    }
+    else {
+    _snxtroSampl->setEnabled(false);    
+    _snxtroSampl->setPalette(paletteGray);
+    }
+  }
+}
