diff options
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/Ivy/IvyDomain.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CSharp/Ivy/Ivy/IvyDomain.cs b/CSharp/Ivy/Ivy/IvyDomain.cs index 163374f..8abeb3f 100644 --- a/CSharp/Ivy/Ivy/IvyDomain.cs +++ b/CSharp/Ivy/Ivy/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);
+ }
}
}
|