mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 15:35:47 +12:00
Merge pull request #2819 from L1Q/master
Fix error when pressing F1 during image editing
This commit is contained in:
commit
441dc0bff7
|
@ -411,7 +411,7 @@ private void form_KeyDown(object sender, KeyEventArgs e)
|
||||||
break;
|
break;
|
||||||
case Keys.F1:
|
case Keys.F1:
|
||||||
Config.ShowHotkeys = !Config.ShowHotkeys;
|
Config.ShowHotkeys = !Config.ShowHotkeys;
|
||||||
if(form.IsAnnotationMode)
|
if(tsmiTips != null)
|
||||||
tsmiTips.Checked = Config.ShowHotkeys;
|
tsmiTips.Checked = Config.ShowHotkeys;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue