Explorar o código

Close the popup when unpining the popup widget

Julien Finet %!s(int64=14) %!d(string=hai) anos
pai
achega
ed4f4b613f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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();
+    }
 }
 
 // --------------------------------------------------------------------------