Correctly select the color mode from GUI - this fixes bug #8040

This commit is contained in:
Michal Schulz 2020-07-07 12:02:01 +02:00
parent 9228cb7d0c
commit 0a8f94f82e

View file

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