Force the user selected model on reset (which can change by a save state)
This commit is contained in:
parent
40fc477b56
commit
f1b8164613
@ -593,12 +593,7 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
|
|||||||
current_model = (enum model)[sender tag];
|
current_model = (enum model)[sender tag];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!modelsChanging && [sender tag] == MODEL_NONE) {
|
GB_switch_model_and_reset(&gb, [self internalModel]);
|
||||||
GB_reset(&gb);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
GB_switch_model_and_reset(&gb, [self internalModel]);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (old_width != GB_get_screen_width(&gb)) {
|
if (old_width != GB_get_screen_width(&gb)) {
|
||||||
[self.view screenSizeChanged];
|
[self.view screenSizeChanged];
|
||||||
|
Loading…
Reference in New Issue
Block a user