Bug 458456

Summary: When removing a location switch to the previous location instead of keeping it on the screen.
Product: [Applications] kweather Reporter: Justin Zobel <justin.zobel>
Component: generalAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: minor CC: espidev
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 22.09
Sentry Crash Report:

Description Justin Zobel 2022-08-29 08:08:26 UTC
I had City A and City B added as locations.

I was on City B on the main screen when I removed it from the location list. 

The main screen should automatically move back to City A or another city in the list when City B is removed.
Comment 1 Devin Lin 2022-08-31 01:54:15 UTC
Git commit fb4974674a4987b0c5a767413f03b06fc21fb111 by Devin Lin.
Committed on 31/08/2022 at 01:53.
Pushed by devinlin into branch 'master'.

Fix dynamic view weather location not changing if it is removed
FIXED-IN: 22.09

M  +12   -2    src/qml/DynamicForecastPage.qml

https://invent.kde.org/plasma-mobile/kweather/commit/fb4974674a4987b0c5a767413f03b06fc21fb111