diff --git a/CHANGES b/CHANGES index ef45f310b..ac1e26b5f 100644 --- a/CHANGES +++ b/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: diff --git a/src/platform/qt/library/LibraryController.cpp b/src/platform/qt/library/LibraryController.cpp index fc558f226..1a7fc8bf4 100644 --- a/src/platform/qt/library/LibraryController.cpp +++ b/src/platform/qt/library/LibraryController.cpp @@ -83,6 +83,9 @@ LibraryController::~LibraryController() { } void LibraryController::setViewStyle(LibraryStyle newStyle) { + if (m_currentStyle == newStyle) { + return; + } m_currentStyle = newStyle; AbstractGameList* newCurrentList = nullptr;