Commit fa44634f authored by Claes Sjofors's avatar Claes Sjofors

Xtt bugfix in 'close navigator' command

parent 4508af64
...@@ -145,6 +145,9 @@ void XttGtk::close( void *ctx, int terminate) ...@@ -145,6 +145,9 @@ void XttGtk::close( void *ctx, int terminate)
char title[80]; char title[80];
if ( terminate) { if ( terminate) {
if ( !xtt->wow)
return;
strcpy( title, "Confirm"); strcpy( title, "Confirm");
xtt->wow->DisplayQuestion( xtt, title, "Do you want to close", close_ok, 0, 0); xtt->wow->DisplayQuestion( xtt, title, "Do you want to close", close_ok, 0, 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment