Stop mithering me and just open the MDI shell browser by default.

svn path=/trunk/; revision=40327
This commit is contained in:
Ged Murphy 2009-04-02 14:59:18 +00:00
parent fda957e5f8
commit 990c6414f3

View file

@ -723,16 +723,7 @@ void explorer_show_frame(int cmdShow, LPTSTR lpCmdLine)
g_Globals._prescan_nodes = false; g_Globals._prescan_nodes = false;
XMLPos explorer_options = g_Globals.get_cfg("general/explorer"); cmd._mdi = true;
XS_String mdiStr = XMLString(explorer_options, "mdi");
// If there isn't yet the "mdi" setting in the configuration, display the MDI/SDI dialog.
if (mdiStr.empty())
Dialog::DoModal(IDD_MDI_SDI, WINDOW_CREATOR(MdiSdiDlg), g_Globals._hwndDesktop);
// Now read the MDI attribute again and interpret it as boolean value.
cmd._mdi = XMLBool(explorer_options, "mdi", true);
cmd._cmdShow = cmdShow; cmd._cmdShow = cmdShow;
// parse command line options, which may overwrite the MDI flag // parse command line options, which may overwrite the MDI flag