Merge pull request #58 from s-alexey/focus
Set focus on image canvas after image is loaded
This commit is contained in:
commit
eb87c3d680
@ -809,6 +809,7 @@ class MainWindow(QMainWindow, WindowMixin):
|
||||
xmlPath = os.path.join(self.defaultSaveDir, basename)
|
||||
self.loadPascalXMLByFilename(xmlPath)
|
||||
|
||||
self.canvas.setFocus()
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user