mirror of https://github.com/m-labs/artiq.git
gui/shortcuts: default state is no shortcuts, hide clear/open/submit widgets
This commit is contained in:
parent
8e01d0b9a1
commit
3bc119f3f0
|
@ -56,6 +56,10 @@ class ShortcutsDock(dockarea.Dock):
|
||||||
self.addWidget(submit, row, 4)
|
self.addWidget(submit, row, 4)
|
||||||
submit.clicked.connect(partial(self._activated, i))
|
submit.clicked.connect(partial(self._activated, i))
|
||||||
|
|
||||||
|
clear.hide()
|
||||||
|
open.hide()
|
||||||
|
submit.hide()
|
||||||
|
|
||||||
self.shortcut_widgets[i] = {
|
self.shortcut_widgets[i] = {
|
||||||
"label": label,
|
"label": label,
|
||||||
"clear": clear,
|
"clear": clear,
|
||||||
|
|
Loading…
Reference in New Issue