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
69c068c551
commit
b75812a99d
2
CHANGES
2
CHANGES
|
@ -1,6 +1,8 @@
|
|||
0.6.1: (Future)
|
||||
Bugfixes:
|
||||
- Python: Fix importing .gb or .gba before .core
|
||||
Misc:
|
||||
- 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