mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 09:56:03 +08:00
BUG: Closing ImageViewer shouldn't quit parent program
This commit is contained in:
@@ -126,7 +126,7 @@ class ImageViewer(QtGui.QMainWindow):
|
||||
for p in self.plugins:
|
||||
p.show()
|
||||
super(ImageViewer, self).show()
|
||||
sys.exit(qApp.exec_())
|
||||
qApp.exec_()
|
||||
|
||||
def redraw(self):
|
||||
self.canvas.draw_idle()
|
||||
|
||||
Reference in New Issue
Block a user