Skip to content

Commit

Permalink
切换菜单时增加对弹窗的去除 (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubeiqing authored Sep 4, 2020
1 parent 1724b21 commit 6de1bc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easytrader/clienttrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ def _collapse_left_menus(self):
@perf_clock
def _switch_left_menus(self, path, sleep=0.2):
self._get_left_menus_handle().get_item(path).click()
self._app.top_window().type_keys('{ESC}')
self._app.top_window().type_keys('{F5}')
self.wait(sleep)

def _switch_left_menus_by_shortcut(self, shortcut, sleep=0.5):
Expand Down

0 comments on commit 6de1bc3

Please sign in to comment.