Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[Fixes Bug #1080302] Fix CloneStamp anchor icon not being displayed after brush width change #46

Merged
merged 1 commit into from over 1 year ago

2 participants

Don McComb Cameron White
Don McComb

No description provided.

Cameron White cameronwhite merged commit 3235aab into from November 27, 2012
Cameron White cameronwhite closed this November 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  Pinta.Tools/Tools/CloneStampTool.cs
8  Pinta.Tools/Tools/CloneStampTool.cs
@@ -66,7 +66,13 @@ protected override void OnBuildToolBar(Gtk.Toolbar tb)
66 66
 			base.OnBuildToolBar(tb);
67 67
 
68 68
 			// Change the cursor when the BrushWidth is changed.
69  
-			brush_width.ComboBox.Changed += (sender, e) => SetCursor (DefaultCursor);
  69
+			brush_width.ComboBox.Changed += HandleBrushWidthComboBoxChanged;
  70
+		}
  71
+
  72
+		void HandleBrushWidthComboBoxChanged (object sender, EventArgs e)
  73
+		{
  74
+			SetCursor (DefaultCursor);
  75
+			PintaCore.Chrome.Canvas.GrabFocus ();
70 76
 		}
71 77
 
72 78
 		protected override void OnMouseDown (Gtk.DrawingArea canvas, Gtk.ButtonPressEventArgs args, Cairo.PointD point)
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.