Commit 629fdadb authored by claes's avatar claes

Restore settings didn't use the correct scriptfile

parent d256aa56
/* /*
* Proview $Id: wb_wtt.cpp,v 1.27 2005-10-25 12:04:25 claes Exp $ * Proview $Id: wb_wtt.cpp,v 1.28 2005-11-22 12:32:17 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -485,7 +485,7 @@ int Wtt::restore_settings() ...@@ -485,7 +485,7 @@ int Wtt::restore_settings()
char cmd[80]; char cmd[80];
strcpy( cmd, "@"); strcpy( cmd, "@");
dcli_translate_filename( &cmd[1], wnav_cInitFile); dcli_translate_filename( &cmd[1], script_filename());
wnav->command( cmd); wnav->command( cmd);
wnavnode->command( cmd); wnavnode->command( cmd);
return 1; return 1;
...@@ -3765,8 +3765,7 @@ Wtt::Wtt( ...@@ -3765,8 +3765,7 @@ Wtt::Wtt(
&show_descrip, &show_objref, &show_objxref, &show_descrip, &show_objref, &show_objxref,
&show_attrref, &show_attrxref); &show_attrref, &show_attrxref);
if ( wbctx && volid) if ( wbctx && volid) {
{
wnav->volume_attached( wbctx, ldhses, 0); wnav->volume_attached( wbctx, ldhses, 0);
wnavnode->volume_attached( wbctx, ldhses, 0); wnavnode->volume_attached( wbctx, ldhses, 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