Sfoglia il codice sorgente

Close the popup when unpining the popup widget

Julien Finet 14 anni fa
parent
commit
ed4f4b613f
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      Libs/Widgets/ctkPopupWidget.cpp

+ 4 - 0
Libs/Widgets/ctkPopupWidget.cpp

@@ -828,6 +828,10 @@ void ctkPopupWidget::pinPopup(bool pin)
     {
     this->showPopup();
     }
+  else
+    {
+    this->hidePopup();
+    }
 }
 
 // --------------------------------------------------------------------------