Index: /trunk/BNC/bncwindow.cpp
===================================================================
--- /trunk/BNC/bncwindow.cpp	(revision 2945)
+++ /trunk/BNC/bncwindow.cpp	(revision 2946)
@@ -404,4 +404,7 @@
 
   connect(_pppSPPComboBox, SIGNAL(currentIndexChanged(const QString &)),
+          this, SLOT(slotBncTextChanged()));
+
+  connect(_pppAntexLineEdit, SIGNAL(textChanged(const QString &)),
           this, SLOT(slotBncTextChanged()));
 
@@ -1782,5 +1785,6 @@
      || sender() == _pppSPPComboBox
      || sender() == _pppEstTropoCheckBox
-     || sender() == _pppUsePhaseCheckBox ) {
+     || sender() == _pppUsePhaseCheckBox    
+     || sender() == _pppAntexLineEdit ) {
     if (!_pppMountLineEdit->text().isEmpty()) {
       _pppSPPComboBox->setPalette(palette_white);
@@ -1796,6 +1800,4 @@
       _pppGalileoCheckBox->setPalette(palette_white);
       _pppAntexLineEdit->setPalette(palette_white);
-      _pppAntennaLineEdit->setPalette(palette_white);
-      _pppIgnoreSatAntCheckBox->setPalette(palette_white);
       _pppSPPComboBox->setEnabled(true);
       _pppNMEALineEdit->setEnabled(true);
@@ -1810,18 +1812,13 @@
       _pppGalileoCheckBox->setEnabled(true);
       _pppRefCrdXLineEdit->setPalette(palette_white);
-      _pppRefCrdXLineEdit->setEnabled(true);
       _pppRefCrdYLineEdit->setPalette(palette_white);
-      _pppRefCrdYLineEdit->setEnabled(true);
       _pppRefCrdZLineEdit->setPalette(palette_white);
-      _pppRefCrdZLineEdit->setEnabled(true);
       _pppAntexLineEdit->setEnabled(true);
-      _pppAntennaLineEdit->setEnabled(true);
-      _pppIgnoreSatAntCheckBox->setEnabled(true);
       if (!_pppRefCrdXLineEdit->text().isEmpty() &&
           !_pppRefCrdYLineEdit->text().isEmpty() &&
           !_pppRefCrdZLineEdit->text().isEmpty()) {
       _pppAverageLineEdit->setPalette(palette_white);
+      _pppQuickStartLineEdit->setPalette(palette_white);
       _pppAverageLineEdit->setEnabled(true);
-      _pppQuickStartLineEdit->setPalette(palette_white);
       _pppQuickStartLineEdit->setEnabled(true);
       }
@@ -1831,4 +1828,16 @@
       _pppQuickStartLineEdit->setPalette(palette_gray);
       _pppQuickStartLineEdit->setEnabled(false);
+      }
+      if (!_pppAntexLineEdit->text().isEmpty() ) {
+      _pppAntennaLineEdit->setEnabled(true);
+      _pppIgnoreSatAntCheckBox->setEnabled(true);
+      _pppAntennaLineEdit->setPalette(palette_white);
+      _pppIgnoreSatAntCheckBox->setPalette(palette_white);
+      }
+      else {
+      _pppAntennaLineEdit->setEnabled(false);
+      _pppIgnoreSatAntCheckBox->setEnabled(false);
+      _pppAntennaLineEdit->setPalette(palette_gray);
+      _pppIgnoreSatAntCheckBox->setPalette(palette_gray);
       }
       _pppSigCLineEdit->setPalette(palette_white);
