mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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
1 changed files with 1 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue