mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
If image editor file dialog is canceled then don't show file not found msg box
This commit is contained in:
parent
14cde29c05
commit
90a312d516
1 changed files with 4 additions and 1 deletions
|
@ -781,7 +781,10 @@ public static void AnnotateImage(TaskSettings taskSettings = null)
|
|||
|
||||
string filePath = ImageHelpers.OpenImageFileDialog();
|
||||
|
||||
AnnotateImage(filePath, taskSettings);
|
||||
if (!string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
AnnotateImage(filePath, taskSettings);
|
||||
}
|
||||
}
|
||||
|
||||
public static void AnnotateImage(string filePath, TaskSettings taskSettings = null)
|
||||
|
|
Loading…
Reference in a new issue