Shortcut to show relation
Pressing space on a selected relation shows it. I wanted to use 'Enter' but it doesn't work. This closes #5
This commit is contained in:
parent
746ae6af09
commit
67db598b02
@ -70,6 +70,7 @@ class relForm(QtWidgets.QMainWindow):
|
||||
# Shortcuts
|
||||
shortcuts = (
|
||||
(self.ui.lstRelations, QtGui.QKeySequence.Delete, self.unloadRelation),
|
||||
(self.ui.lstRelations, 'Space', lambda: self.printRelation(self.ui.lstRelations.currentItem())),
|
||||
(self.ui.txtQuery, QtGui.QKeySequence.MoveToNextLine, self.next_history),
|
||||
(self.ui.txtQuery, QtGui.QKeySequence.MoveToPreviousLine, self.prev_history),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user