fixed example menu on windows

This commit is contained in:
Luke Campagnola 2012-03-30 15:53:10 -04:00
parent 668640b424
commit bdef8dc4c7
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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',
] ]