mirror of
https://github.com/greenshot/greenshot
synced 2025-07-30 11:40:40 -07:00
Fix for designer issue and Bug #3538953
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1938 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
c10b8201a0
commit
f4ddfb2e79
2 changed files with 5 additions and 3 deletions
|
@ -94,7 +94,8 @@ namespace Greenshot {
|
|||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent();
|
||||
this.ManualLanguageApply = true;
|
||||
InitializeComponent();
|
||||
updateUI();
|
||||
|
||||
this.Load += delegate {
|
||||
|
@ -768,7 +769,9 @@ namespace Greenshot {
|
|||
this.redoToolStripMenuItem.Enabled = canRedo;
|
||||
string redoAction = "";
|
||||
if (canRedo) {
|
||||
redoAction = Language.GetString(surface.RedoActionKey);
|
||||
if (surface.RedoActionKey != LangKey.none) {
|
||||
redoAction = Language.GetString(surface.RedoActionKey);
|
||||
}
|
||||
}
|
||||
string redoText = Language.GetFormattedString(LangKey.editor_redo, redoAction);
|
||||
this.btnRedo.Text = redoText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue