Don't change filetype to PNG while trying to invoke callback

This commit is contained in:
baldurk
2016-11-07 14:53:47 +01:00
parent f260d5e2c8
commit f1b247fa3d
@@ -184,9 +184,11 @@ namespace renderdocui.Windows.Dialogs
mapSlicesToGrid.Checked = true;
}
FileType selectedType = saveData.destType;
fileFormat.SelectedIndex = 0;
fileFormat.SelectedIndex = 1;
fileFormat.SelectedIndex = (int)saveData.destType;
fileFormat.SelectedIndex = (int)selectedType;
if(saveData.alpha == AlphaMapping.Discard)
alphaMap.SelectedIndex = 0;