Merge pull request #3425 from larsbrubaker/design_tools
Another bug in the eeprom writing
This commit is contained in:
commit
4069c00d41
4 changed files with 5 additions and 25 deletions
|
|
@ -830,7 +830,7 @@ namespace MatterHackers.MatterControl
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
},
|
},
|
||||||
(sceneItem) => true,
|
(sceneItem) => true,
|
||||||
(sceneItem) => true);
|
(sceneItem) => sceneItem.DescendantsAndSelf().Any((i) => i is IPathObject));
|
||||||
|
|
||||||
ActiveSliceSettings.SettingChanged.RegisterEvent((s, e) =>
|
ActiveSliceSettings.SettingChanged.RegisterEvent((s, e) =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -493,7 +493,7 @@ namespace MatterHackers.MatterControl.EeProm
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return acc_travel_moves;
|
return acc_retraction;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
set
|
||||||
|
|
|
||||||
|
|
@ -287,29 +287,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
||||||
{
|
{
|
||||||
Icon = AggContext.StaticData.LoadIcon("memory_16x16.png", 16, 16, theme.InvertIcons),
|
Icon = AggContext.StaticData.LoadIcon("memory_16x16.png", 16, 16, theme.InvertIcons),
|
||||||
Title = "Configure EEProm".Localize(),
|
Title = "Configure EEProm".Localize(),
|
||||||
Action = configureEePromButton_Click
|
Action = configureEePromButton_Click,
|
||||||
|
IsEnabled = () => printer.Connection.IsConnected
|
||||||
},
|
},
|
||||||
//new NamedAction()
|
|
||||||
//{
|
|
||||||
// Title = "Rename Printer".Localize(),
|
|
||||||
// Action = () =>
|
|
||||||
// {
|
|
||||||
// DialogWindow.Show(
|
|
||||||
// new InputBoxPage(
|
|
||||||
// "Rename Printer".Localize(),
|
|
||||||
// "Name".Localize(),
|
|
||||||
// printer.Settings.GetValue(SettingsKey.printer_name),
|
|
||||||
// "Enter New Name Here".Localize(),
|
|
||||||
// "Rename".Localize(),
|
|
||||||
// (newName) =>
|
|
||||||
// {
|
|
||||||
// if (!string.IsNullOrEmpty(newName))
|
|
||||||
// {
|
|
||||||
// printer.Settings.SetValue(SettingsKey.printer_name, newName);
|
|
||||||
// }
|
|
||||||
// }));
|
|
||||||
// }
|
|
||||||
//},
|
|
||||||
new NamedBoolAction()
|
new NamedBoolAction()
|
||||||
{
|
{
|
||||||
Title = "Configure Printer".Localize(),
|
Title = "Configure Printer".Localize(),
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit b0e86c1b34df07656eb44fe9dbd3bc4271bf0e57
|
Subproject commit f72f111824056c3c4dae9327326dc39b2eb85a1b
|
||||||
Loading…
Add table
Add a link
Reference in a new issue