Skip to content

Commit

Permalink
gui/applets: prevent size from shrinking to zero when docked
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 14, 2016
1 parent 15515f3 commit 9797acc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions artiq/gui/applets.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9797acc

Please sign in to comment.