mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Qt: Fix widgets being visible when they shouldn't be
This commit is contained in:
parent
c3b0208de6
commit
77ebd721e3
3 changed files with 13 additions and 0 deletions
|
@ -159,6 +159,10 @@ MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters) : QMainW
|
|||
restoreGeometry(settings.value(QStringLiteral("mainwindow/geometry")).toByteArray());
|
||||
|
||||
m_render_widget_geometry = settings.value(QStringLiteral("renderwidget/geometry")).toByteArray();
|
||||
|
||||
// Restoring of window states can sometimes go wrong, resulting in widgets being visible when they
|
||||
// shouldn't be so we have to reapply all our rules afterwards.
|
||||
Settings::Instance().RefreshWidgetVisibility();
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue