Commit Graph
1 Commits
Author SHA1 Message Date
Jay Young 7460e4316b [FIX]when startup with out specify image, self.filePath will be None, but when loadFile get it, the filePath is 'None', so if there real is a img name as None, it will open it unexceptly
[FIX]when open file, QImageReader.supportedImageFormats() gives items in QbyteArray type, so if do str(fmt) will gives bbmp so that open prompt will not be able to open any thing
[FIX]in PyQT5, QFileDialog.getOpenFileName returns a tuple with (filename,filters)
2017-03-08 11:29:43 +08:00