fixed example menu on windows
This commit is contained in:
parent
668640b424
commit
bdef8dc4c7
@ -90,7 +90,7 @@ class ExampleLoader(QtGui.QMainWindow):
|
|||||||
fn = self.currentFile()
|
fn = self.currentFile()
|
||||||
if fn is None:
|
if fn is None:
|
||||||
return
|
return
|
||||||
os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, fn)
|
os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, '"' + fn + '"')
|
||||||
|
|
||||||
|
|
||||||
def showFile(self):
|
def showFile(self):
|
||||||
|
@ -28,7 +28,7 @@ from UIGraphicsItem import UIGraphicsItem
|
|||||||
__all__ = [
|
__all__ = [
|
||||||
'ROI',
|
'ROI',
|
||||||
'TestROI', 'RectROI', 'EllipseROI', 'CircleROI', 'PolygonROI',
|
'TestROI', 'RectROI', 'EllipseROI', 'CircleROI', 'PolygonROI',
|
||||||
'LineROI', 'MultiLineROI', 'LineSegmentROI', 'SpiralROI'
|
'LineROI', 'MultiLineROI', 'LineSegmentROI', 'SpiralROI',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user