sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Saving a custom weapon scheme resets selection to Default #851

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a custom weapon scheme
2. Leave the menu, thus saving the weapon scheme
3. See what weapon scheme is now selected

What is the expected output? What do you see instead?
I expect
a) That the frontend goes without further ado back to the game menu
b) That my custom weapon scheme is selected in the game menu.

Actually
a) The frontend seems to behave a bit “messy”: For a brief time, all fields 
(weapon scheme name, number of weapons, wheather the fields are “grayed 
out” or not) wildly change. This takes about 1-2 seconds
b) The game menu has *always* reset my selection of the weapon scheme to Default

What version of the product are you using? On what operating system?
I use GNU/Linux and can reproduce this in the following Hedgewars versions:
- (probably some earlier versions than 0.9.20)
- 0.9.20
- Git f488421…

Please provide any additional information below.
If you repeat the steps but leave the weapon scheme editor with a default 
(non-custom) weapon scheme, the weapon editor seems to behave OK. So make sure 
you do the test with a custom weapon scheme.

Original issue reported on code.google.com by almikes@aol.com on 10 Dec 2014 at 5:58