gui/applets: prevent size from shrinking to zero when docked

This commit is contained in:
Sebastien Bourdeauducq 2016-02-14 23:27:59 +01:00
parent 15515f33ef
commit 9797acc964

View File

@ -89,6 +89,7 @@ class AppletDock(QDockWidgetCloseDetect):
def __init__(self, datasets_sub, uid, name, command):
QDockWidgetCloseDetect.__init__(self, "Applet: " + name)
self.setObjectName("applet" + str(uid))
self.setMinimumSize(QtCore.QSize(100, 100))
self.datasets_sub = datasets_sub
self.applet_name = name