Set focus on canvas after image is loaded

This commit is contained in:
Alexey 2017-02-23 15:53:44 +03:00 committed by s-alexey
parent c5ceaa687d
commit 36ab14943e

View File

@ -807,6 +807,7 @@ class MainWindow(QMainWindow, WindowMixin):
xmlPath = os.path.join(self.defaultSaveDir, basename)
self.loadPascalXMLByFilename(xmlPath)
self.canvas.setFocus()
return True
return False