mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 14:11:38 +12:00
Fix null exception
This commit is contained in:
parent
8089aab59c
commit
79fcdf9325
|
@ -1225,7 +1225,10 @@ private void UpdateMenu()
|
|||
|
||||
tsmiArrowHeadsBothSide.Checked = AnnotationOptions.ArrowHeadsBothSide;
|
||||
|
||||
if (tsbSaveImage != null)
|
||||
{
|
||||
tsbSaveImage.Enabled = !string.IsNullOrEmpty(Form.ImageFilePath) && File.Exists(Form.ImageFilePath);
|
||||
}
|
||||
|
||||
switch (shapeType)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue