Show make model on settings update page
issue: MatterHackers/MCCentral#6032 List/show current printer model in top level description of the settings updater
This commit is contained in:
parent
acddd2531c
commit
33ebbafa25
1 changed files with 6 additions and 4 deletions
|
|
@ -110,8 +110,12 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
private async void AddUpgradeInfoPannel(GuiWidget generalPanel)
|
||||
{
|
||||
generalPanel.AddChild(new WrappedTextWidget(@"The following settings have had their default values changed and should be updated.
|
||||
Updating the default will not change any other overrides that you may have applied.".Localize(), pointSize: 11)
|
||||
var make = printer.Settings.GetValue(SettingsKey.make);
|
||||
var model = printer.Settings.GetValue(SettingsKey.model);
|
||||
var message = $"The default settings for the {make} {model} have been updated.";
|
||||
message += "\nBelow you can find a list of each setting that has changed.".Localize();
|
||||
message += "\nUpdating the default setting will not change any other overrides that you may have applied.".Localize();
|
||||
generalPanel.AddChild(new WrappedTextWidget(message, pointSize: 11)
|
||||
{
|
||||
Margin = new BorderDouble(5, 15),
|
||||
TextColor = theme.TextColor
|
||||
|
|
@ -119,8 +123,6 @@ Updating the default will not change any other overrides that you may have appli
|
|||
|
||||
int tabIndex = 0;
|
||||
|
||||
var make = printer.Settings.GetValue(SettingsKey.make);
|
||||
var model = printer.Settings.GetValue(SettingsKey.model);
|
||||
var serverOemSettings = await ProfileManager.LoadOemSettingsAsync(OemSettings.Instance.OemProfiles[make][model],
|
||||
make,
|
||||
model);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue