#7 Prompt to reload config after selecting new XML

closed
nobody
None
5
2004-03-17
2004-03-16
No

Hi again,

I like the new Select Config menu, very nice!

I would, however, prefer it if it automatically reloaded it
when selecting a new item - that's what I've been doing
99% of the time - and it seems like more work than it
should to me.

So, I could just add a ReloadSettings() call at l.3473 in
HandleMenuCommand() after it sets the config filename.

But I ended up adding a prompt also. So here's the
code I added to Console.cpp, at line 3473

// Prompt to reload settings after selecting new config.
// - could have this be a setting "Reload Settings After
// Select New" - "yes", "no", "prompt"
// but if it's in the config xml file, then that could be
// different for each setting used - potentially pretty
// confusing for users.
// Probably best to decide on one way (or have a
// toggle on the menu "Reload After Select")
//
if (::MessageBox(NULL,
_T("Load new configuration settings?"),
_T("New configuration selected"),
MB_OKCANCEL) == IDOK)
{
ReloadSettings();
}

Discussion

  • Marko Bozikovic

    Marko Bozikovic - 2004-03-17
    • status: open --> closed
     
  • Marko Bozikovic

    Marko Bozikovic - 2004-03-17

    Logged In: YES
    user_id=16767

    Done. Thanks!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks