Index: /trunk/FACT++/gui/FactGui.h
===================================================================
--- /trunk/FACT++/gui/FactGui.h	(revision 12178)
+++ /trunk/FACT++/gui/FactGui.h	(revision 12179)
@@ -3599,5 +3599,4 @@
     {
         const PixelMapEntry &entry = fPixelMap.index(fPixelIdx->value());
-
         Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PIXELS_EXCEPT", uint16_t(entry.hw()));
     }
@@ -3607,6 +3606,28 @@
         const int16_t isw = fThresholdIdx->value();
         const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw];
+        if (ihw<0)
+            return;
 
         Dim::SendCommand("FTM_CONTROL/DISABLE_ALL_PATCHES_EXCEPT", ihw);
+    }
+
+    void on_fThresholdEnablePatch_clicked()
+    {
+        const int16_t isw = fThresholdIdx->value();
+        const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw];
+       if (ihw<0)
+            return;
+
+        Dim::SendCommand("FTM_CONTROL/ENABLE_PATCH", ihw);
+    }
+
+    void on_fThresholdDisablePatch_clicked()
+    {
+        const int16_t isw = fThresholdIdx->value();
+        const int16_t ihw = isw<0 ? -1 : fPatchMapHW[isw];
+       if (ihw<0)
+            return;
+
+        Dim::SendCommand("FTM_CONTROL/DISABLE_PATCH", ihw);
     }
 
Index: /trunk/FACT++/gui/MainWindow.h
===================================================================
--- /trunk/FACT++/gui/MainWindow.h	(revision 12178)
+++ /trunk/FACT++/gui/MainWindow.h	(revision 12179)
@@ -208,4 +208,6 @@
     virtual void on_fPixelDisableOthers_clicked() = 0;
     virtual void on_fThresholdDisableOthers_clicked() = 0;
+    virtual void on_fThresholdEnablePatch_clicked() = 0;
+    virtual void on_fThresholdDisablePatch_clicked() = 0;
 
     virtual void DisplayRates() = 0;
