mirror of
https://github.com/wassname/sloth.git
synced 2026-10-02 12:40:07 +08:00
make insertWidget work
This commit is contained in:
1 parent
0181d9faba
commit
462a0516cc
1 file changed
+1
@@ -71,6 +71,7 @@ class FloatingLayout(QLayout):
|
||||
self.invalidate()
|
||||
|
||||
def insertWidget(self, pos, wid):
|
||||
self.addChildWidget(wid)
|
||||
self.insertItem(pos, QWidgetItem(wid))
|
||||
|
||||
def addItem(self, item):
|
||||
|
||||
Reference in new issue
Block a user