mirror of https://github.com/mgba-emu/mgba.git
Qt: Don't rebuild library view if style hasn't changed
This commit is contained in:
parent
1ea2a6597e
commit
fa0944c530
1
CHANGES
1
CHANGES
|
@ -8,6 +8,7 @@ Misc:
|
|||
- GBA Timer: Use global cycles for timers
|
||||
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
|
||||
- All: Make FIXED_ROM_BUFFER an option instead of 3DS-only
|
||||
- Qt: Don't rebuild library view if style hasn't changed
|
||||
|
||||
0.6.0: (2017-07-16)
|
||||
Features:
|
||||
|
|
|
@ -83,6 +83,9 @@ LibraryController::~LibraryController() {
|
|||
}
|
||||
|
||||
void LibraryController::setViewStyle(LibraryStyle newStyle) {
|
||||
if (m_currentStyle == newStyle) {
|
||||
return;
|
||||
}
|
||||
m_currentStyle = newStyle;
|
||||
|
||||
AbstractGameList* newCurrentList = nullptr;
|
||||
|
|
Loading…
Reference in New Issue