Made sure profiles use proper profile extension and are looked for accordingly

Fixed bug where we would show upload profile dialog without any profiles to upload
This commit is contained in:
Matt Moening 2016-07-14 13:46:33 -07:00
parent 26269a64d5
commit f8e00ca879
4 changed files with 9 additions and 3 deletions

View file

@ -67,6 +67,10 @@ namespace MatterHackers.MatterControl
public void ReloadSliceSettings()
{
WidescreenPanel.PreChangePanels.CallEvents(null, null);
if (advancedTab.HasBeenClosed)
{
return;
}
// remove the advance control and replace it with new ones built for the selected printer
int advancedControlsIndex = GetChildIndex(advancedTab);