mirror of
https://github.com/wassname/sloth.git
synced 2026-08-12 12:30:50 +08:00
make insertWidget work
This commit is contained in:
@@ -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