Open presets window to Details view
- #Closes 690
This commit is contained in:
parent
d3568cc3ab
commit
54f0c38bd2
2 changed files with 2 additions and 17 deletions
|
|
@ -193,7 +193,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
Button cancelButton = buttonFactory.Generate(LocalizedString.Get("Cancel"));
|
||||
cancelButton.Click += (sender, e) =>
|
||||
{
|
||||
UiThread.RunOnIdle(windowController.ChangeToSlicePresetList);
|
||||
UiThread.RunOnIdle(windowController.Close);
|
||||
};
|
||||
|
||||
container.AddChild(savePresetButton);
|
||||
|
|
|
|||
|
|
@ -62,22 +62,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
this.functionToCallOnSave = functionToCallOnSave;
|
||||
|
||||
BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor;
|
||||
if (showList)
|
||||
{
|
||||
ChangeToSlicePresetList();
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
if (collectionID == 0)
|
||||
{
|
||||
ChangeToSlicePresetDetail();
|
||||
}
|
||||
else
|
||||
{
|
||||
ChangeToSlicePresetDetail(GetCollection(collectionID));
|
||||
} */
|
||||
}
|
||||
ChangeToSlicePresetDetail();
|
||||
ShowAsSystemWindow();
|
||||
this.MinimumSize = new Vector2(640, 480);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue