mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 19:54:13 +13:00
Fix null exception
This commit is contained in:
parent
8089aab59c
commit
79fcdf9325
1 changed files with 4 additions and 1 deletions
|
@ -1225,7 +1225,10 @@ private void UpdateMenu()
|
||||||
|
|
||||||
tsmiArrowHeadsBothSide.Checked = AnnotationOptions.ArrowHeadsBothSide;
|
tsmiArrowHeadsBothSide.Checked = AnnotationOptions.ArrowHeadsBothSide;
|
||||||
|
|
||||||
|
if (tsbSaveImage != null)
|
||||||
|
{
|
||||||
tsbSaveImage.Enabled = !string.IsNullOrEmpty(Form.ImageFilePath) && File.Exists(Form.ImageFilePath);
|
tsbSaveImage.Enabled = !string.IsNullOrEmpty(Form.ImageFilePath) && File.Exists(Form.ImageFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
switch (shapeType)
|
switch (shapeType)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue