warning fixen and better circle

This commit is contained in:
Jonas Mucke
2020-01-09 20:09:40 +01:00
parent e1d53a927b
commit 736ca69245
4 changed files with 8 additions and 8 deletions

View File

@@ -78,9 +78,8 @@ void IntelliPhotoGui::slotCreateNewLayer(){
tr("Height:"),
200,1, 500, 1, &ok2);
// Create New Layer
if (ok1&&ok2)
{
int layer = paintingArea->addLayer(width,height,0,0);
if (ok1&&ok2){
paintingArea->addLayer(width,height,0,0);
UpdateGui();
}
}