提交 bb021c7d 编写于 作者: K Kentaro Wada

canvas.setFocus() in loadFile

上级 160a1357
......@@ -1535,6 +1535,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.paintCanvas()
self.addRecentFile(self.filename)
self.toggleActions(True)
self.canvas.setFocus()
self.status(self.tr("Loaded %s") % osp.basename(str(filename)))
return True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册