Put export icon on export
This commit is contained in:
parent
4e586eb03b
commit
8e6450ab35
2 changed files with 21 additions and 5 deletions
|
|
@ -32,6 +32,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Threading;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.Platform;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.CustomWidgets;
|
||||
|
|
@ -220,6 +221,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
this.CloseMenu();
|
||||
};
|
||||
},
|
||||
Icon = StaticData.Instance.LoadIcon("cube_export.png", 16, 16, theme.InvertIcons),
|
||||
ButtonEnabled = exportPlugin.Enabled,
|
||||
ButtonName = "Export Gcode Button",
|
||||
ButtonAction = (widget) =>
|
||||
|
|
@ -232,6 +234,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
},
|
||||
|
||||
});
|
||||
|
||||
exportGCodeButton.Enabled = startPrintButton.Enabled;
|
||||
exportGCodeButton.BackgroundRadius = 3;
|
||||
exportGCodeButton.ToolTipText = "More Export Options".Localize();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue