- adjusted axis at startup for legacy graphic engine plotcanvas

- when the graphic engine is changed in Edit -> Preferences -> General -> App Preferences, the application will restart
This commit is contained in:
Marius Stanciu
2019-09-22 04:34:19 +03:00
committed by Marius
parent 42d26c1323
commit b0b2e37ac6
5 changed files with 19 additions and 3 deletions

View File

@@ -154,6 +154,7 @@ class PlotCanvasLegacy(QtCore.QObject):
self.canvas.setFocus()
self.native = self.canvas
self.adjust_axes(-10, -10, 100, 100)
# self.canvas.set_can_focus(True) # For key press
# Attach to parent