Make god widget focus to chart / "view mode"

ordermodepps_backup
Tyler Goodlet 2021-08-02 18:52:22 -04:00
parent 2e086375e7
commit 37de9e581c
1 changed files with 9 additions and 0 deletions

View File

@ -256,6 +256,15 @@ class GodWidget(QWidget):
return order_mode_started 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): class LinkedSplits(QWidget):
''' '''