changeset 366:1071303835f1

Add a message box to display an error if XML load fails.
author Brian Smith <brian@dbsoft.org>
date Mon, 11 Jul 2022 06:40:48 -0500
parents e6ccc40315a4
children 9da6d6760545
files dwib.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dwib.c	Mon Jul 11 06:18:55 2022 -0500
+++ b/dwib.c	Mon Jul 11 06:40:48 2022 -0500
@@ -5743,6 +5743,8 @@
             }
             /* Save the recent files config */
             saveconfig();
+        } else if(filename) {
+            dw_messagebox("File open error", DW_MB_OK | DW_MB_ERROR, "Failed to open \"%s\".", filename);
         }
     }
     return FALSE;