mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix LibraryController initialization (fixes #1324)
This commit is contained in:
parent
81fd7e3c1a
commit
65b553022c
1
CHANGES
1
CHANGES
|
@ -44,6 +44,7 @@ Other fixes:
|
||||||
- Qt: Only show emulator restart warning once per settings saving
|
- Qt: Only show emulator restart warning once per settings saving
|
||||||
- FFmpeg: Drain recording buffers
|
- FFmpeg: Drain recording buffers
|
||||||
- Shaders: Fix gba-color shader resolution (fixes mgba.io/i/1435)
|
- Shaders: Fix gba-color shader resolution (fixes mgba.io/i/1435)
|
||||||
|
- Qt: Fix LibraryController initialization (fixes mgba.io/i/1324)
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Savedata: EEPROM performance fixes
|
- GBA Savedata: EEPROM performance fixes
|
||||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||||
|
|
|
@ -51,6 +51,7 @@ LibraryController::LibraryController(QWidget* parent, const QString& path, Confi
|
||||||
m_libraryGrid = std::make_unique<LibraryGrid>(this);
|
m_libraryGrid = std::make_unique<LibraryGrid>(this);
|
||||||
addWidget(m_libraryGrid->widget());
|
addWidget(m_libraryGrid->widget());
|
||||||
|
|
||||||
|
m_currentStyle = LibraryStyle::STYLE_TREE; // Make sure setViewStyle does something
|
||||||
setViewStyle(LibraryStyle::STYLE_LIST);
|
setViewStyle(LibraryStyle::STYLE_LIST);
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue