Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
010800cb
Commit
010800cb
authored
Aug 08, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
random seed settings stored at the right time
parent
ab1f4ce0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/gui/set/random_pack_panel.cpp
src/gui/set/random_pack_panel.cpp
+5
-1
src/gui/set/random_pack_panel.hpp
src/gui/set/random_pack_panel.hpp
+1
-0
No files found.
src/gui/set/random_pack_panel.cpp
View file @
010800cb
...
...
@@ -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
);
...
...
src/gui/set/random_pack_panel.hpp
View file @
010800cb
...
...
@@ -28,6 +28,7 @@ class RandomPackPanel : public SetWindowPanel {
// --------------------------------------------------- : UI
virtual
void
onBeforeChangeSet
();
virtual
void
onChangeSet
();
virtual
void
initUI
(
wxToolBar
*
tb
,
wxMenuBar
*
mb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment