mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:57:45 +00:00
GamesSettings: Always ensure last card back selected is saved
This commit is contained in:
parent
42865b8975
commit
b16704d4db
2 changed files with 12 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/IconView.h>
|
||||
#include <LibGUI/ImageWidget.h>
|
||||
#include <LibGUI/ModelIndex.h>
|
||||
#include <LibGUI/SettingsWindow.h>
|
||||
|
||||
class CardSettingsWidget final : public GUI::SettingsWindow::Tab {
|
||||
|
@ -34,4 +35,6 @@ private:
|
|||
|
||||
RefPtr<GUI::ColorInput> m_background_color_input;
|
||||
RefPtr<GUI::IconView> m_card_back_image_view;
|
||||
|
||||
GUI::ModelIndex m_last_selected_card_back;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue