Apply resolution settings doesn't work

when i debug this it actually says that resolution was set but when I hit apply nothing happens?


Some resolution changes only work in standalone.

Apart from that, it looks ok, all I have is