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:
twanvl
2008-08-08 19:01:44 +00:00
parent d77b2745f4
commit 47c5fd2d7a
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -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);