public void SetTool(Shape.Shapes shape) { AttachParameter(Parameters.Tool, (int)shape); var key = Globals.Root.CurrentConfig.GetFirstKeyForAction(new ToolAction(shape)); if (Utilities.Key_Shortcuts_Safe()) { ShortcutDisplay = GUIUtilities.KeyShortDescription(key); } }