From f04b4862c3be783052599cfc10e0993623b6b159 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Thu, 16 May 2019 17:31:05 +0800 Subject: [PATCH] [Mod] remove self reference --- vnpy/trader/ui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/ui/mainwindow.py b/vnpy/trader/ui/mainwindow.py index 4eba1f33..94abc4cc 100644 --- a/vnpy/trader/ui/mainwindow.py +++ b/vnpy/trader/ui/mainwindow.py @@ -55,7 +55,7 @@ class MainWindow(QtWidgets.QMainWindow): def init_dock(self): """""" - self.trading_widget, trading_dock = self.create_dock( + trading_widget, trading_dock = self.create_dock( TradingWidget, "交易", QtCore.Qt.LeftDockWidgetArea ) tick_widget, tick_dock = self.create_dock(