Index: /trunk/FACT++/gui/FactGui.h
===================================================================
--- /trunk/FACT++/gui/FactGui.h	(revision 10961)
+++ /trunk/FACT++/gui/FactGui.h	(revision 10962)
@@ -1166,5 +1166,9 @@
         // fPatch converts from software id to software patch id
         for (int i=0; i<1440; i++)
-            dat[i] = sdata.fRatePatch[fPatch[i]];
+        {
+            const int isw = fPatch[i];
+            const int ihw = fPatchMapHW[isw];
+            dat[i] = sdata.fRatePatch[ihw];
+        }
 
         c = fRatesCanv->GetCanvas();
@@ -1925,5 +1929,5 @@
 
             ostringstream str;
-            str << "  HW=" << ihw << "  Patch=" << idx << "  (Crate=" << crate << " Board=" << board << " Patch=" << patch << ")";
+            str << " (hw=" << ihw << ")  Patch=" << idx << "  (hw=" << fPatchMapHW[idx] << "; Crate=" << crate << " Board=" << board << " Patch=" << patch << ")";
 
             tipText += str.str().c_str();
@@ -1974,4 +1978,5 @@
         fPatchRate->setValue(cam.GetData(isw));
 
+        // Loop over the software idx of all pixels
         for (unsigned int i=0; i<fPatch.size(); i++)
             if (fPatch[i]==isw)
@@ -2064,4 +2069,12 @@
 
         Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PIXELS_EXCEPT", ihw);
+    }
+
+    void on_fThresholdDisableOthers_clicked()
+    {
+        const uint16_t isw = fThresholdIdx->value();
+        const uint16_t ihw = fPatchMapHW[isw];
+
+        Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PATCHES_EXCEPT", ihw);
     }
 
Index: /trunk/FACT++/gui/MainWindow.cc
===================================================================
--- /trunk/FACT++/gui/MainWindow.cc	(revision 10961)
+++ /trunk/FACT++/gui/MainWindow.cc	(revision 10962)
@@ -245,10 +245,4 @@
 }
 
-void MainWindow::on_fThresholdDisableOthers_clicked()
-{
-    Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PATCHES_EXCEPT",
-                     uint16_t(fThresholdIdx->value()));
-}
-
 void MainWindow::on_fEnableTrigger_stateChanged(int b)
 {
Index: /trunk/FACT++/gui/MainWindow.h
===================================================================
--- /trunk/FACT++/gui/MainWindow.h	(revision 10961)
+++ /trunk/FACT++/gui/MainWindow.h	(revision 10962)
@@ -85,6 +85,6 @@
 
     // Tab: Rates
-    void on_fPixelEnable_stateChanged(int);
-    void on_fThresholdVal_valueChanged(int);
+    virtual void on_fPixelEnable_stateChanged(int) { }
+    virtual void on_fThresholdVal_valueChanged(int) { }
     virtual void on_fThresholdIdx_valueChanged(int) { }
     virtual void on_fThresholdCrate_valueChanged(int) { }
@@ -93,6 +93,9 @@
     virtual void on_fPixelIdx_valueChanged(int) { }
 
-    void on_fPixelDisableOthers_clicked();
-    virtual void on_fThresholdDisableOthers_clicked();
+    void on_fPixelEnableAll_clicked();
+    void on_fPixelDisableAll_clicked();
+
+    virtual void on_fPixelDisableOthers_clicked() { }
+    virtual void on_fThresholdDisableOthers_clicked() { }
 
     virtual void on_fRatePatch1_valueChanged(int) { }
