mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Fix for #1589 System.NullReferenceExceptio
This commit is contained in:
parent
0399b97672
commit
9ad9f97e1f
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ namespace Greenshot.Helpers {
|
|||
// Register notify events if this is wanted
|
||||
if (conf.ShowTrayNotification && !conf.HideTrayicon) {
|
||||
surface.SurfaceMessage += delegate(object source, SurfaceMessageEventArgs eventArgs) {
|
||||
if (string.IsNullOrEmpty(eventArgs.Message)) {
|
||||
if (eventArgs == null || string.IsNullOrEmpty(eventArgs.Message)) {
|
||||
return;
|
||||
}
|
||||
switch (eventArgs.MessageType) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue