GUI: Clear buttons not properly updated when switching theme
|Reported by:||lordhoto||Owned by:||eriktorbjorn|
Tested with: ScummVM git commit 2d6fda8c85dc58546d2cc57a7db0d77bb2b72e5c Platform: Linux/amd64 Compiler: g++ 4.6.2
When switching the GUI theme in the options menu and afterwards (without closing the menu!) switching to the "Paths" tab makes the buttons still have the image enabled configuration from the old theme. For example: When you start ScummVM with the classic theme, go to options and select the modern theme, go to paths, the clear buttons will have a "C" as letter on them instead of the graphical "X". When doing this with the modern theme loaded initially and switching to the builtin theme the behavior is exactly the opposite. It might be noteworthy that if you close the Options menu by clicking OK after you switched the theme and open it up again the buttons will have the correct style.
Ticket imported from: #3482459. Ticket imported from: bugs/5956.