Permalink
Browse files

[Fixes Bug #1081030] Percentage filed on Resize canvas/image gets foc…

…us and selection when dialog is opened
  • Loading branch information...
1 parent cf03bd1 commit 5ccf40de0cd356515214c13b4312780ffbab8437 @ericksson ericksson committed Jan 31, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 Pinta/Dialogs/ResizeCanvasDialog.cs
  2. +1 −0 Pinta/Dialogs/ResizeImageDialog.cs
@@ -71,6 +71,7 @@ public partial class ResizeCanvasDialog : Dialog
widthSpinner.ActivatesDefault = true;
heightSpinner.ActivatesDefault = true;
percentageSpinner.ActivatesDefault = true;
+ percentageSpinner.GrabFocus();
}
#region Public Methods
@@ -59,6 +59,7 @@ public partial class ResizeImageDialog : Dialog
widthSpinner.ActivatesDefault = true;
heightSpinner.ActivatesDefault = true;
percentageSpinner.ActivatesDefault = true;
+ percentageSpinner.GrabFocus();
}
#region Public Methods

0 comments on commit 5ccf40d

Please sign in to comment.