Skip to content

Commit

Permalink
Merge pull request #681 from mcneel/AndyPayne/Compute-299
Browse files Browse the repository at this point in the history
fixes Compute-299
  • Loading branch information
andyopayne authored Oct 11, 2024
2 parents f58f319 + 33a99f1 commit b35b68d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hops/SetDefinitionForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public SetDefinitionForm(string currentPath)
textbox.Text = Path;
}
var filePickButton = new Rhino.UI.Controls.ImageButton();
filePickButton.Image = Rhino.Resources.Assets.Rhino.Eto.Bitmaps.TryGet(Rhino.Resources.ResourceIds.FolderopenPng, new Eto.Drawing.Size(24, 24));
filePickButton.ToolTip = "Select an existing Grasshopper definition";
filePickButton.Image = Rhino.Resources.Assets.Rhino.Eto.Icons.TryGet(Rhino.Resources.ResourceIds.FolderopenPng, new Eto.Drawing.Size(24, 24));
filePickButton.Click += (sender, e) =>
{
var dlg = new Eto.Forms.OpenFileDialog();
Expand Down

0 comments on commit b35b68d

Please sign in to comment.