mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
bugfix for selectType in options
This commit is contained in:
@@ -1774,18 +1774,18 @@ void MenuStateOptions::saveConfig(){
|
||||
|
||||
int selectionTypeindex= listBoxSelectionType.getSelectedItemIndex();
|
||||
if(selectionTypeindex==0){
|
||||
config.setBool("EnableColorPicking", false);
|
||||
config.setBool("EnableSelectBufPicking", false);
|
||||
config.setBool("EnableSelectBufPicking", true);
|
||||
config.setBool("EnableColorPicking", false);
|
||||
config.setBool("EnableFrustumPicking", false);
|
||||
}
|
||||
else if (selectionTypeindex==1){
|
||||
config.setBool("EnableColorPicking", true);
|
||||
config.setBool("EnableSelectBufPicking", false);
|
||||
config.setBool("EnableFrustumPicking", true);
|
||||
config.setBool("EnableColorPicking", true);
|
||||
config.setBool("EnableFrustumPicking", false);
|
||||
}
|
||||
else if (selectionTypeindex==2){
|
||||
config.setBool("EnableSelectBufPicking", false);
|
||||
config.setBool("EnableColorPicking", false);
|
||||
config.setBool("EnableSelectBufPicking", true);
|
||||
config.setBool("EnableFrustumPicking", true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user