Move import settings to settings section
Moved export to bottom to create more distiction of import presets and export all issue: MatterHackers/MCCentral#3451 Feature Request: Import/Export material profiles
This commit is contained in:
parent
371498bcd8
commit
8c1e79dcf0
2 changed files with 23 additions and 23 deletions
|
|
@ -283,11 +283,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
var menuActions = new List<NamedAction>()
|
||||
{
|
||||
new NamedAction()
|
||||
{
|
||||
Title = "Import Printer Settings".Localize() + "...",
|
||||
Action = importMaterialSettingsButton_Click
|
||||
},
|
||||
new NamedAction()
|
||||
{
|
||||
Icon = AggContext.StaticData.LoadIcon("memory_16x16.png", 16, 16, theme.InvertIcons),
|
||||
|
|
@ -347,22 +342,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
theme.CreateMenuItems(popupMenu, menuActions);
|
||||
}
|
||||
|
||||
private void importMaterialSettingsButton_Click()
|
||||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
AggContext.FileDialogs.OpenFileDialog(
|
||||
new OpenFileDialogParams("settings files|*.printer"),
|
||||
(dialogParams) =>
|
||||
{
|
||||
if (!string.IsNullOrEmpty(dialogParams.FileName))
|
||||
{
|
||||
DialogWindow.Show(new SelectPartsOfPrinterToImport(dialogParams.FileName));
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
private void configureEePromButton_Click()
|
||||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue