Browse Source

ENH: Support of ctkLayoutManager::setViewport from python

Jean-Christophe Fillion-Robin 6 years ago
parent
commit
8dc453e5d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libs/Widgets/ctkLayoutManager.h

+ 1 - 1
Libs/Widgets/ctkLayoutManager.h

@@ -94,7 +94,7 @@ public:
   /// Destructor
   virtual ~ctkLayoutManager();
 
-  void setViewport(QWidget* widget);
+  Q_INVOKABLE void setViewport(QWidget* widget);
   Q_INVOKABLE QWidget* viewport()const;
 
   /// Return the spacing property value.