mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 01:27:00 +00:00
Qt: workaround for settings_dialog resize
This commit is contained in:
parent
c3916fee9c
commit
dab82b70f7
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user