TOSQUASH `._lc` renamings

pause_feeds_on_sym_switch
Tyler Goodlet 2021-09-06 10:07:42 -04:00
parent 5698ac9a78
commit 73f1a58038
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ async def handle_viewmode_inputs(
Qt.Key_Space, Qt.Key_Space,
} }
): ):
view._chart._lc.godwidget.search.focus() view._chart.linked.godwidget.search.focus()
# esc and ctrl-c # esc and ctrl-c
if key == Qt.Key_Escape or (ctrl and key == Qt.Key_C): if key == Qt.Key_Escape or (ctrl and key == Qt.Key_C):

View File

@ -112,7 +112,7 @@ class OrderMode:
) -> None: ) -> None:
print(f'Position update {msg}') print(f'Position update {msg}')
sym = self.chart._lc._symbol sym = self.chart.linked.symbol
if msg['symbol'].lower() not in sym.key: if msg['symbol'].lower() not in sym.key:
return return