diff --git a/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb b/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb index b4031f9..b7a4323 100644 --- a/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb +++ b/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb @@ -69,7 +69,7 @@ Public Class LayerTreeViewItem Return m_bOnOff End Get Set(value As Boolean) - If Map.refProjectVM.GetController().GetStep() <> 0 Then Return + 'If Map.refProjectVM.GetController().GetStep() <> 0 Then Return If m_bOnOff <> value Then m_bOnOff = value ' se abilitato, eseguo operazione diff --git a/OptionsWindow/OptionWindowVM.vb b/OptionsWindow/OptionWindowVM.vb index c5ee998..6b65dce 100644 --- a/OptionsWindow/OptionWindowVM.vb +++ b/OptionsWindow/OptionWindowVM.vb @@ -1319,7 +1319,7 @@ Public Class OptionWindowVM ' L'aggiornamento della macchina "{0}" non รจ riuscito. Dim sKo As String = String.Format(EgtMsg(MSG_OPTIONPAGE + 35), sMachName) EgtOutLog(sKo) - MessageBox.Show(sKo, EgtMsg(MSG_MESSAGEBOX + 1), MessageBoxButton.OK) + MessageBox.Show(sKo, EgtMsg(MSG_MESSAGEBOX + 1), MessageBoxButton.OK, MessageBoxImage.Error) Return End Try End If