Move UI behavior into application layer
This commit is contained in:
parent
ac7d56ecdb
commit
da3bccb601
3 changed files with 28 additions and 29 deletions
|
|
@ -42,6 +42,7 @@ using MatterHackers.MatterControl.PrinterCommunication;
|
|||
using MatterHackers.MatterControl.PrintHistory;
|
||||
using MatterHackers.MatterControl.SetupWizard;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MatterHackers.MatterControl.PartPreviewWindow
|
||||
{
|
||||
|
|
@ -306,7 +307,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
Title = "Export All Settings".Localize(),
|
||||
Action = () =>
|
||||
{
|
||||
printer.Settings.Helpers.ExportAsMatterControlConfig();
|
||||
ApplicationController.Instance.ExportAsMatterControlConfig(printer);
|
||||
}
|
||||
},
|
||||
new ActionSeparator(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue