Merge pull request #5252 from seanyeh/fix-mp-player-join-lose-focus

Don't lose text focus on mp player join (fixes #3715)
This commit is contained in:
Charles Dang 2020-11-01 11:15:30 +11:00 committed by GitHub
commit b5aab70128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,8 +345,6 @@ void mp_join_game::generate_side_list(window& window)
tree_view& tree = find_widget<tree_view>(&window, "side_list", false);
window.keyboard_capture(&tree);
tree.clear();
team_tree_map_.clear();
const std::map<std::string, string_map> empty_map;