[bugfix] Removing the selected configuration selects the default
This commit is contained in:
parent
b02e164bce
commit
f7090afd79
@ -595,6 +595,10 @@ public class Rocket extends RocketComponent {
|
||||
return;
|
||||
}
|
||||
|
||||
if( selectedConfiguration.getId().equals( fcid)){
|
||||
selectedConfiguration = configSet.getDefault();
|
||||
}
|
||||
|
||||
// Get current configuration:
|
||||
this.configSet.reset( fcid);
|
||||
fireComponentChangeEvent(ComponentChangeEvent.MASS_CHANGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user