Actually check if we have a printer selected.
This commit is contained in:
parent
286e89ad63
commit
f15318faf9
6 changed files with 7 additions and 7 deletions
|
|
@ -319,7 +319,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
|
||||
private void SetVisibleStatus()
|
||||
{
|
||||
if (ActiveSliceSettings.Instance != null)
|
||||
if (ActiveSliceSettings.Instance.PrinterSelected)
|
||||
{
|
||||
if (ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.has_heated_bed))
|
||||
{
|
||||
|
|
@ -750,7 +750,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
}
|
||||
private void SetVisibleStatus()
|
||||
{
|
||||
if (ActiveSliceSettings.Instance != null)
|
||||
if (ActiveSliceSettings.Instance.PrinterSelected)
|
||||
{
|
||||
if (ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.has_heated_bed))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue