changeset 379:31511dd89500

After creating a new layout, make sure the toolbar icons are correctly enabled.
author Brian Smith <brian@dbsoft.org>
date Tue, 26 Jul 2022 17:17:12 -0500
parents b01d35837e12
children cb9a86122792
files dwib.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dwib.c	Tue Jul 26 17:01:12 2022 -0500
+++ b/dwib.c	Tue Jul 26 17:17:12 2022 -0500
@@ -5700,6 +5700,8 @@
             free(oldfilename);
         /* Update the window title */
         setTitle();
+        /* Make sure the toolbar is updated */
+        toolbar_select(DWCurrNode);
     }
     return FALSE;
 }