mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
random seed settings stored at the right time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1105 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -186,8 +186,12 @@ RandomPackPanel::~RandomPackPanel() {
|
|||||||
storeSettings();
|
storeSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RandomPackPanel::onBeforeChangeSet() {
|
||||||
|
if (set) {
|
||||||
|
storeSettings();
|
||||||
|
}
|
||||||
|
}
|
||||||
void RandomPackPanel::onChangeSet() {
|
void RandomPackPanel::onChangeSet() {
|
||||||
storeSettings();
|
|
||||||
preview ->setSet(set);
|
preview ->setSet(set);
|
||||||
card_list->setSet(set);
|
card_list->setSet(set);
|
||||||
totals ->setGame(set->game);
|
totals ->setGame(set->game);
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ class RandomPackPanel : public SetWindowPanel {
|
|||||||
|
|
||||||
// --------------------------------------------------- : UI
|
// --------------------------------------------------- : UI
|
||||||
|
|
||||||
|
virtual void onBeforeChangeSet();
|
||||||
virtual void onChangeSet();
|
virtual void onChangeSet();
|
||||||
|
|
||||||
virtual void initUI (wxToolBar* tb, wxMenuBar* mb);
|
virtual void initUI (wxToolBar* tb, wxMenuBar* mb);
|
||||||
|
|||||||
Reference in New Issue
Block a user