Skip to content

Commit e6b33a7

Browse files
committed
Add -reloadsettings command line switch
It will force Open-Shell to reload settings from registry. Fixes #1157.
1 parent 179a59a commit e6b33a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/StartMenu/StartMenu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpstrC
561561
else if (wcsstr(lpstrCmdLine,L"-toggle")!=NULL) open=MSG_TOGGLE;
562562
else if (wcsstr(lpstrCmdLine,L"-open")!=NULL) open=MSG_OPEN;
563563
else if (wcsstr(lpstrCmdLine,L"-settings")!=NULL) open=MSG_SETTINGS;
564+
else if (wcsstr(lpstrCmdLine,L"-reloadsettings")!=NULL) open=MSG_RELOADSETTINGS;
564565
else if (wcsstr(lpstrCmdLine,L"-exit")!=NULL) open=MSG_EXIT;
565566

566567
{

0 commit comments

Comments
 (0)