Fixed a bug where the index variable rename went wrong

This commit is contained in:
2020-01-09 10:13:58 +01:00
parent 326f9c8948
commit 37b8642497

View File

@@ -119,7 +119,7 @@ bool PaintingArea::save(const QString &filePath, const char*fileFormat){
this->drawLayers(true);
if(!strcmp(fileFormat,"PNG")) {
QImage visibleImage = Canvas->convertToFormat(QImage::Format_idxed8);
QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
fileFormat = "png";
if (visibleImage.save(filePath, fileFormat)) {
return true;