Commit 010800cb authored by twanvl's avatar twanvl

random seed settings stored at the right time

parent ab1f4ce0
......@@ -186,8 +186,12 @@ RandomPackPanel::~RandomPackPanel() {
storeSettings();
}
void RandomPackPanel::onBeforeChangeSet() {
if (set) {
storeSettings();
}
}
void RandomPackPanel::onChangeSet() {
storeSettings();
preview ->setSet(set);
card_list->setSet(set);
totals ->setGame(set->game);
......
......@@ -28,6 +28,7 @@ class RandomPackPanel : public SetWindowPanel {
// --------------------------------------------------- : UI
virtual void onBeforeChangeSet();
virtual void onChangeSet();
virtual void initUI (wxToolBar* tb, wxMenuBar* mb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment