mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
A bit of refactoring to be able to find some issue...
This commit is contained in:
parent
bef29df3db
commit
42cd533862
308 changed files with 2705 additions and 2454 deletions
|
@ -34,14 +34,15 @@ using Greenshot.Drawing.Fields.Binding;
|
|||
using Greenshot.Forms;
|
||||
using Greenshot.Help;
|
||||
using Greenshot.Helpers;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Plugin;
|
||||
using Greenshot.Plugin.Drawing;
|
||||
using GreenshotPlugin.Controls;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.Effects;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
using GreenshotPlugin.Interfaces.Drawing;
|
||||
using GreenshotPlugin.Interfaces.Forms;
|
||||
using GreenshotPlugin.UnmanagedHelpers;
|
||||
using GreenshotPlugin.UnmanagedHelpers.Structs;
|
||||
using log4net;
|
||||
|
||||
namespace Greenshot {
|
||||
|
@ -905,7 +906,7 @@ namespace Greenshot {
|
|||
bool canUndo = _surface.CanUndo;
|
||||
btnUndo.Enabled = canUndo;
|
||||
undoToolStripMenuItem.Enabled = canUndo;
|
||||
string undoAction = "";
|
||||
string undoAction = string.Empty;
|
||||
if (canUndo) {
|
||||
if (_surface.UndoActionLanguageKey != LangKey.none) {
|
||||
undoAction = Language.GetString(_surface.UndoActionLanguageKey);
|
||||
|
@ -918,7 +919,7 @@ namespace Greenshot {
|
|||
bool canRedo = _surface.CanRedo;
|
||||
btnRedo.Enabled = canRedo;
|
||||
redoToolStripMenuItem.Enabled = canRedo;
|
||||
string redoAction = "";
|
||||
string redoAction = string.Empty;
|
||||
if (canRedo) {
|
||||
if (_surface.RedoActionLanguageKey != LangKey.none) {
|
||||
redoAction = Language.GetString(_surface.RedoActionLanguageKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue