mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Fixed problem with undo and missing language key
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1896 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3c61d87780
commit
fdbd829a04
1 changed files with 3 additions and 1 deletions
|
@ -741,7 +741,9 @@ namespace Greenshot {
|
|||
this.undoToolStripMenuItem.Enabled = canUndo;
|
||||
string undoAction = "";
|
||||
if (canUndo) {
|
||||
undoAction = Language.GetString(surface.UndoActionKey);
|
||||
if (surface.UndoActionKey != LangKey.none) {
|
||||
undoAction = Language.GetString(surface.UndoActionKey);
|
||||
}
|
||||
}
|
||||
string undoText = Language.GetFormattedString(LangKey.editor_undo, undoAction);
|
||||
this.btnUndo.Text = undoText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue