mirror of
https://github.com/reactos/reactos.git
synced 2025-05-16 15:50:24 +00:00
Ensure that the "Name" column in Task-Manager will always be shown, so a Registry setting can't influence it.
This is necessary as the "Name" column is currently greyed out in the Column Settings dialog, so the user should have no possibility to change that. Patch by Carlo Bramini (carlo DOT bramix AT libero DOT it) See issue #2217 for more details. svn path=/trunk/; revision=29318
This commit is contained in:
parent
1ab0310d71
commit
a6c7ba1f4a
1 changed files with 7 additions and 0 deletions
|
@ -719,6 +719,13 @@ void LoadSettings(void)
|
|||
dwSize = sizeof(TASKMANAGER_SETTINGS);
|
||||
RegQueryValueEx(hKey, _T("Preferences"), NULL, NULL, (LPBYTE)&TaskManagerSettings, &dwSize);
|
||||
|
||||
/*
|
||||
* ATM, the 'ImageName' column is always visible
|
||||
* (and grayed in configuration dialog)
|
||||
* This will avoid troubles if the registry gets corrupted.
|
||||
*/
|
||||
TaskManagerSettings.Column_ImageName = TRUE;
|
||||
|
||||
/* Close the key */
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue