fix #3566: log password box missing when changing logtype