Commit 6612687 1 parent b54e0d3 commit 6612687 Copy full SHA for 6612687
File tree 1 file changed +5
-2
lines changed
src/DynamoCoreWpf/ViewModels
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class RunTypeItem : NotificationObject
24
24
private bool isSelected ;
25
25
26
26
/// <summary>
27
- /// The enabled flag sets whether the RunType is selectablable
27
+ /// The enabled flag sets whether the RunType is selectable
28
28
/// in the view.
29
29
/// </summary>
30
30
public bool Enabled
@@ -307,10 +307,13 @@ public override void Dispose()
307
307
#region private and internal methods
308
308
309
309
/// <summary>
310
- /// Notifies all relevant Dynamo features (UI elements, commands) that the Graph exection has been enabled/disabled.
310
+ /// Notifies all relevant Dynamo features (UI elements, commands) that the Graph execution has been enabled/disabled.
311
311
/// </summary>
312
312
void NotifyOfGraphRunChanged ( )
313
313
{
314
+ // Skip UI updates during periodic mode to prevent unnecessary toggling of UI elements
315
+ if ( Model . RunType == RunType . Periodic ) return ;
316
+
314
317
RaisePropertyChanged ( nameof ( RunButtonEnabled ) ) ;
315
318
RaisePropertyChanged ( nameof ( RunButtonToolTip ) ) ;
316
319
You can’t perform that action at this time.
0 commit comments