2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

gui/shortcuts: default state is no shortcuts, hide clear/open/submit widgets

This commit is contained in:
Sebastien Bourdeauducq 2015-12-03 16:30:37 +08:00
parent 8e01d0b9a1
commit 3bc119f3f0

View File

@ -56,6 +56,10 @@ class ShortcutsDock(dockarea.Dock):
self.addWidget(submit, row, 4)
submit.clicked.connect(partial(self._activated, i))
clear.hide()
open.hide()
submit.hide()
self.shortcut_widgets[i] = {
"label": label,
"clear": clear,