diff --git a/CHANGES b/CHANGES index 3ed7e3302..449403325 100644 --- a/CHANGES +++ b/CHANGES @@ -44,6 +44,7 @@ Other fixes: - Qt: Only show emulator restart warning once per settings saving - FFmpeg: Drain recording buffers - Shaders: Fix gba-color shader resolution (fixes mgba.io/i/1435) + - Qt: Fix LibraryController initialization (fixes mgba.io/i/1324) Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash diff --git a/src/platform/qt/library/LibraryController.cpp b/src/platform/qt/library/LibraryController.cpp index 3f2a5fc96..b7756437b 100644 --- a/src/platform/qt/library/LibraryController.cpp +++ b/src/platform/qt/library/LibraryController.cpp @@ -51,6 +51,7 @@ LibraryController::LibraryController(QWidget* parent, const QString& path, Confi m_libraryGrid = std::make_unique(this); addWidget(m_libraryGrid->widget()); + m_currentStyle = LibraryStyle::STYLE_TREE; // Make sure setViewStyle does something setViewStyle(LibraryStyle::STYLE_LIST); refresh(); }