Add tests for window manager.

This commit is contained in:
Stefan van der Walt
2009-11-02 21:57:31 +02:00
parent c0ad658822
commit bcea97c5d6
4 changed files with 40 additions and 11 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ else:
def qt_show():
global app
if app and window_manager.has_images():
if app and window_manager.has_windows():
app.exec_()
else:
print 'No images to show. See `imshow`.'