Refactored PrinterActionRow
made show_reset_connection a SettingsKey Made the show_reset_connection less expensive to change
This commit is contained in:
parent
f366736a46
commit
a3c0cdcea5
5 changed files with 99 additions and 95 deletions
|
|
@ -362,7 +362,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
}
|
||||
|
||||
if (PrinterConnectionAndCommunication.Instance.PrinterIsConnected
|
||||
&& ActiveSliceSettings.Instance.GetValue<bool>("show_reset_connection")
|
||||
&& ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.show_reset_connection)
|
||||
&& UserSettings.Instance.IsTouchScreen)
|
||||
{
|
||||
this.activePrintButtons.Add(resetConnectionButton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue