From bdef8dc4c73276a13719638ea447a82632a085de Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Fri, 30 Mar 2012 15:53:10 -0400 Subject: [PATCH] fixed example menu on windows --- examples/__main__.py | 2 +- graphicsItems/ROI.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/__main__.py b/examples/__main__.py index 11c9785d..b58e50ee 100644 --- a/examples/__main__.py +++ b/examples/__main__.py @@ -90,7 +90,7 @@ class ExampleLoader(QtGui.QMainWindow): fn = self.currentFile() if fn is None: return - os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, fn) + os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, '"' + fn + '"') def showFile(self): diff --git a/graphicsItems/ROI.py b/graphicsItems/ROI.py index 1fc38c55..a81b4c13 100644 --- a/graphicsItems/ROI.py +++ b/graphicsItems/ROI.py @@ -28,7 +28,7 @@ from UIGraphicsItem import UIGraphicsItem __all__ = [ 'ROI', 'TestROI', 'RectROI', 'EllipseROI', 'CircleROI', 'PolygonROI', - 'LineROI', 'MultiLineROI', 'LineSegmentROI', 'SpiralROI' + 'LineROI', 'MultiLineROI', 'LineSegmentROI', 'SpiralROI', ]