WIN32 fixed bug where new resolution index was not updated