mirror of https://github.com/mgba-emu/mgba.git
GB SIO: Fix tear off not clearing pixmap
This commit is contained in:
parent
dc976eaf51
commit
55679df8fc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue