Apparently, unlike every other file chooser out there, the Gnome file chooser
is case-sensitive, and many cameras leave photos with capitalized filenames.
self.savePressed()
self.closePressed()
def changePhoto(self):
- fileName = QFileDialog.getOpenFileName(self, "Select Photo", ".", "Images (*.jpg *.png)" )
+ fileName = QFileDialog.getOpenFileName(self, "Select Photo", ".", "Images (*.jpg *.JPG *.png)" )
if not fileName.isEmpty():
print "opening", fileName
self.currentimage = QImage()