FEATURE-863: Fixed storing of the start value.

Updated SVG dependency, which fixes a few small issues with the Jira plug-in.
This commit is contained in:
Robin 2016-11-22 10:23:46 +01:00
parent dc29ef0a27
commit e654a60629
6 changed files with 24 additions and 10 deletions

View file

@ -269,12 +269,14 @@ namespace Greenshot.Drawing
get { return _counterStart; }
set
{
if (_propertyChanged != null && _counterStart != value)
if (_counterStart == value)
{
_counterStart = value;
_propertyChanged(this, new PropertyChangedEventArgs("CounterStart"));
Invalidate();
return;
}
_counterStart = value;
Invalidate();
_propertyChanged?.Invoke(this, new PropertyChangedEventArgs("CounterStart"));
}
}