prevent deck chooser from becoming default
Qt's behaviour seems to have changed in move to 5.12
This commit is contained in:
parent
7aba268d7a
commit
86d9b57877
@ -27,6 +27,7 @@ class DeckChooser(QHBoxLayout):
|
||||
self.addWidget(self.deckLabel)
|
||||
# decks box
|
||||
self.deck = QPushButton(clicked=self.onDeckChange)
|
||||
self.deck.setAutoDefault(False)
|
||||
self.deck.setToolTip(shortcut(_("Target Deck (Ctrl+D)")))
|
||||
s = QShortcut(QKeySequence(_("Ctrl+D")), self.widget, activated=self.onDeckChange)
|
||||
self.addWidget(self.deck)
|
||||
|
Loading…
Reference in New Issue
Block a user