From dab82b70f76d7672eb099ab3eb5e3f31cac49f89 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 16 Jun 2018 15:41:11 +0200 Subject: [PATCH] Qt: workaround for settings_dialog resize --- rpcs3/rpcs3qt/settings_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 079a8776a2..be882462e0 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -1236,6 +1236,7 @@ int settings_dialog::exec() // If we use setCurrentIndex now we will miraculously see a resize of the dialog as soon as we // switch to the cpu tab after conjuring the settings_dialog with another tab opened first. // Weirdly enough this won't happen if we change the tab order so that anything else is at index 0. + ui->tab_widget_settings->setCurrentIndex(0); QTimer::singleShot(0, [=]{ ui->tab_widget_settings->setCurrentIndex(m_tab_Index); }); return QDialog::exec(); }