mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'coffee-compiler/fix_server_list_panic' into 'master'
Fix crash on server list entry deletion See merge request veloren/veloren!4540
This commit is contained in:
commit
366cf18603
@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Charm recipes can now be found in the Potions tab of the crafting menu
|
- Charm recipes can now be found in the Potions tab of the crafting menu
|
||||||
- Black minimap when some terrain blocks are deleted.
|
- Black minimap when some terrain blocks are deleted.
|
||||||
- Text overflow and flickering in the crafting menu.
|
- Text overflow and flickering in the crafting menu.
|
||||||
|
- Crash when deleting entries from the server list.
|
||||||
|
|
||||||
## [0.16.0] - 2024-03-30
|
## [0.16.0] - 2024-03-30
|
||||||
|
|
||||||
|
@ -583,6 +583,7 @@ impl Controls {
|
|||||||
Message::DeleteServer => {
|
Message::DeleteServer => {
|
||||||
if let Some(server_index) = self.selected_server_index {
|
if let Some(server_index) = self.selected_server_index {
|
||||||
events.push(Event::DeleteServer { server_index });
|
events.push(Event::DeleteServer { server_index });
|
||||||
|
self.selected_server_index = None;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* Note: Keeping in case we re-add the disclaimer */
|
/* Note: Keeping in case we re-add the disclaimer */
|
||||||
|
Loading…
Reference in New Issue
Block a user