Qt: Fix regression involving displayed screenshots in savestate view

This commit is contained in:
Jeffrey Pfau 2015-04-03 21:14:02 -07:00
parent 36af5fba87
commit f136fa040c
1 changed files with 0 additions and 1 deletions

View File

@ -880,7 +880,6 @@ void Window::setupMenu(QMenuBar* menubar) {
}
void Window::attachWidget(QWidget* widget) {
m_screenWidget->clear();
m_screenWidget->layout()->addWidget(widget);
static_cast<QStackedLayout*>(m_screenWidget->layout())->setCurrentWidget(widget);
}