perf(gtk): avoid replacing listModel twice
This commit is contained in:
parent
ac6099f813
commit
4dfcbb038d
@ -95,7 +95,6 @@ class ModsTab(window: InstanceSettingsWindow) : SettingsTab<Leaflet, InstanceSet
|
||||
toShow.add(mod.name)
|
||||
}
|
||||
}
|
||||
listModel.replaceAll(mods.map { it.name }.toTypedArray())
|
||||
} else {
|
||||
loadingRevealer.setRunning(searchResult == null || !mds.isComplete(ScanStage.CROSSREFERENCE))
|
||||
loadingRevealer.pulse()
|
||||
|
Loading…
Reference in New Issue
Block a user