mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
Stop mithering me and just open the MDI shell browser by default.
svn path=/trunk/; revision=40327
This commit is contained in:
parent
fda957e5f8
commit
990c6414f3
|
@ -723,16 +723,7 @@ void explorer_show_frame(int cmdShow, LPTSTR lpCmdLine)
|
|||
|
||||
g_Globals._prescan_nodes = false;
|
||||
|
||||
XMLPos explorer_options = g_Globals.get_cfg("general/explorer");
|
||||
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._mdi = true;
|
||||
cmd._cmdShow = cmdShow;
|
||||
|
||||
// parse command line options, which may overwrite the MDI flag
|
||||
|
|
Loading…
Reference in a new issue