GB SIO: Fix tear off not clearing pixmap

This commit is contained in:
Vicki Pfau 2017-07-30 19:51:33 -07:00
parent dc976eaf51
commit 55679df8fc
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void PrinterView::save() {
void PrinterView::clear() { void PrinterView::clear() {
m_ui.image->setFixedHeight(0); m_ui.image->setFixedHeight(0);
m_image = QPixmap();
m_ui.image->clear(); m_ui.image->clear();
m_ui.buttonBox->button(QDialogButtonBox::Save)->setEnabled(false); m_ui.buttonBox->button(QDialogButtonBox::Save)->setEnabled(false);
} }