diff options
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyDomain.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyDomain.cs b/CSharp/Ivy/IvyPPC/IvyDomain.cs index 163374f..8abeb3f 100644 --- a/CSharp/Ivy/IvyPPC/IvyDomain.cs +++ b/CSharp/Ivy/IvyPPC/IvyDomain.cs @@ -19,9 +19,12 @@ namespace IvyBus {
get { return domain; }
set {
- domain = value;
- ivybus.Text = domain;
- if (DomainChanged != null ) DomainChanged(this, EventArgs.Empty);
+ if (domain != value)
+ {
+ domain = value;
+ ivybus.Text = domain;
+ if (DomainChanged != null) DomainChanged(this, EventArgs.Empty);
+ }
}
}
|