Permalink
Browse files

Merge pull request #46 from don-mccomb/bug1080302

[Fixes Bug #1080302] Fix CloneStamp anchor icon not being displayed after brush width change
  • Loading branch information...
2 parents c43a1fb + a3d31f1 commit 3235aab563ceafa336433dd33e04aefa9d84a424 @cameronwhite cameronwhite committed Nov 28, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 Pinta.Tools/Tools/CloneStampTool.cs
@@ -66,7 +66,13 @@ protected override void OnBuildToolBar(Gtk.Toolbar tb)
base.OnBuildToolBar(tb);
// Change the cursor when the BrushWidth is changed.
- brush_width.ComboBox.Changed += (sender, e) => SetCursor (DefaultCursor);
+ brush_width.ComboBox.Changed += HandleBrushWidthComboBoxChanged;
+ }
+
+ void HandleBrushWidthComboBoxChanged (object sender, EventArgs e)
+ {
+ SetCursor (DefaultCursor);
+ PintaCore.Chrome.Canvas.GrabFocus ();
}
protected override void OnMouseDown (Gtk.DrawingArea canvas, Gtk.ButtonPressEventArgs args, Cairo.PointD point)

0 comments on commit 3235aab

Please sign in to comment.