Skip to content

Commit

Permalink
Also save the configuration on OK hit
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Nov 28, 2018
1 parent 25ce148 commit fbc309f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/glpi-wince-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ void DoMenuActions(HWND w, INT id)
{
switch (id) {
case IDOK:
keepConfig();
ConfigSave();
Refresh(); // Ask service to refresh its configuration
RequestRun();
Quit();
PostQuitMessage(WM_QUIT);
Expand All @@ -339,7 +342,7 @@ void DoMenuActions(HWND w, INT id)
case IDM_MENU_SAVECONFIG:
keepConfig();
ConfigSave();
Refresh(); // Ask service to refresh the con
Refresh(); // Ask service to refresh its configuration
break;
#ifdef DEBUG
case IDM_MENU_DEBUGINVENTORY:
Expand Down

0 comments on commit fbc309f

Please sign in to comment.