Make god widget focus to chart / "view mode"
parent
2e086375e7
commit
37de9e581c
|
@ -256,6 +256,15 @@ class GodWidget(QWidget):
|
|||
|
||||
return order_mode_started
|
||||
|
||||
def focus(self) -> None:
|
||||
'''Focus the top level widget which in turn focusses the chart
|
||||
ala "view mode".
|
||||
|
||||
'''
|
||||
# go back to view-mode focus (aka chart focus)
|
||||
self.clearFocus()
|
||||
self.linkedsplits.chart.setFocus()
|
||||
|
||||
|
||||
class LinkedSplits(QWidget):
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue