From 37b8642497ba1d924c70ca91b4a3acdb4d912d0c Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 9 Jan 2020 10:13:58 +0100 Subject: [PATCH] Fixed a bug where the index variable rename went wrong --- src/Layer/PaintingArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Layer/PaintingArea.cpp b/src/Layer/PaintingArea.cpp index bd52fab..e1113b2 100644 --- a/src/Layer/PaintingArea.cpp +++ b/src/Layer/PaintingArea.cpp @@ -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;