Merge pull request #8041 from michalsc/master

Correctly select the color mode from GUI - this fixes bug #8040
This commit is contained in:
Remco Burema 2020-07-08 11:16:46 +02:00 committed by GitHub
commit 8ff62844df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ class ImageReaderUI(QObject):
@pyqtSlot(int)
def onColorModelChanged(self, value):
self.use_transparency_model = (value == 0)
self.use_transparency_model = (value == 1)
@pyqtSlot(int)
def onTransmittanceChanged(self, value):