second fix

all kown bugs according to history, fixed
This commit is contained in:
Mienek
2020-01-30 12:17:28 +01:00
parent db07e6fcb0
commit 3eb61abb94
4 changed files with 14 additions and 9 deletions

View File

@@ -103,6 +103,7 @@ void IntelliPhotoGui::slotCreateNewRasterLayer(){
// Create New Layer
if (ok1&&ok2) {
paintingArea->addLayer(width,height,0,0,255,ImageType::RASTERIMAGE);
paintingArea->historyadd();
UpdateGui();
}
}
@@ -122,6 +123,7 @@ void IntelliPhotoGui::slotCreateNewShapedLayer(){
// Create New Layer
if (ok1&&ok2) {
paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE);
paintingArea->historyadd();
UpdateGui();
}
}