Open help on F1
- Issue MatterHackers/MCCentral#3510 F1 key should open help
This commit is contained in:
parent
ea4d017d78
commit
42af7d029f
1 changed files with 9 additions and 1 deletions
|
|
@ -2341,7 +2341,15 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
var gcode2D = systemWindow.Descendants<GCode2DWidget>().Where((v) => v.ActuallyVisibleOnScreen()).FirstOrDefault();
|
||||
|
||||
if(!keyEvent.Handled
|
||||
if (keyEvent.KeyCode == Keys.F1)
|
||||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
DialogWindow.Show(new DesignSpaceGuide("Guides Tab", ""));
|
||||
});
|
||||
}
|
||||
|
||||
if (!keyEvent.Handled
|
||||
&& gcode2D != null)
|
||||
{
|
||||
switch (keyEvent.KeyCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue