Make god widget focus to chart / "view mode"

fsp_feeds
Tyler Goodlet 2021-08-02 18:52:22 -04:00
parent 70a283e336
commit 5f7c9a16fb
1 changed files with 9 additions and 0 deletions

View File

@ -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):
'''