mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -26,6 +26,7 @@ using Greenshot.Drawing.Fields;
|
|||
using GreenshotPlugin.UnmanagedHelpers;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Core;
|
||||
using GreenshotPlugin.Effects;
|
||||
using GreenshotPlugin.Interfaces.Drawing;
|
||||
|
||||
namespace Greenshot.Configuration {
|
||||
|
@ -99,9 +100,10 @@ namespace Greenshot.Configuration {
|
|||
} else {
|
||||
LastUsedFieldValues.Add(requestedField, fieldValue);
|
||||
}
|
||||
Field returnField = new Field(fieldType, requestingType);
|
||||
returnField.Value = fieldValue;
|
||||
return returnField;
|
||||
return new Field(fieldType, requestingType)
|
||||
{
|
||||
Value = fieldValue
|
||||
};
|
||||
}
|
||||
|
||||
public void UpdateLastFieldValue(IField field)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue