diff --git a/src/app/valentina/dialogs/dialogpatternproperties.cpp b/src/app/valentina/dialogs/dialogpatternproperties.cpp index 2da40283c..65ef62770 100644 --- a/src/app/valentina/dialogs/dialogpatternproperties.cpp +++ b/src/app/valentina/dialogs/dialogpatternproperties.cpp @@ -632,7 +632,6 @@ void DialogPatternProperties::InitImage() ui->imageLabel->setScaledContents(true); connect(ui->changeImageButton, &QPushButton::clicked, this, &DialogPatternProperties::ChangeImage); - connect(ui->deleteImageButton, &QPushButton::clicked, this, &DialogPatternProperties::DeleteImage); connect(ui->imageLabel, &QWidget::customContextMenuRequested, this, &DialogPatternProperties::ShowContextMenu); deleteAction = new QAction(tr("Delete image"), this); diff --git a/src/app/valentina/dialogs/dialogpatternproperties.ui b/src/app/valentina/dialogs/dialogpatternproperties.ui index 5479e827b..9c82ef7d5 100644 --- a/src/app/valentina/dialogs/dialogpatternproperties.ui +++ b/src/app/valentina/dialogs/dialogpatternproperties.ui @@ -92,13 +92,6 @@ - - - - delete image - - -