[Commits] [wesnoth/wesnoth] 9a09e2: Fix wrong add-on often being selected after instal...
GitHub
noreply at github.com
Wed Apr 5 17:11:43 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 9a09e2b783c6a32114dfbf43c2c30aeb8688d776
https://github.com/wesnoth/wesnoth/commit/9a09e2b783c6a32114dfbf43c2c30aeb8688d776
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2017-04-05 (Wed, 05 Apr 2017)
Changed paths:
M src/gui/dialogs/addon/manager.cpp
M src/gui/dialogs/addon/manager.hpp
Log Message:
-----------
Fix wrong add-on often being selected after install/uninstall
The problem was that reloading the add-on list invalidated the string
reference. Fixed by receiving the add-on ID by value instead.
I also fixed that status and type filters weren't honored after reloading
the list.
More information about the Commits
mailing list