diff --git a/src/platform/qt/PrinterView.cpp b/src/platform/qt/PrinterView.cpp index 7efca8892..088600ad2 100644 --- a/src/platform/qt/PrinterView.cpp +++ b/src/platform/qt/PrinterView.cpp @@ -41,6 +41,7 @@ void PrinterView::save() { void PrinterView::clear() { m_ui.image->setFixedHeight(0); + m_image = QPixmap(); m_ui.image->clear(); m_ui.buttonBox->button(QDialogButtonBox::Save)->setEnabled(false); }