forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 4 additions and 0 deletions

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,