mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
sundry tweaks
- prevent infinite loop and warn when a game has no card fields - choice fields are no longer ignored if they have no choices defined - templates can now have the same name as their game folder (no hyphen needed) - indent made by 4 spaces is now considered a tab (but will still produce a warning let's no kid ourselves)
This commit is contained in:
@@ -78,7 +78,7 @@ void NewSetWindow::onGameSelect(wxCommandEvent&) {
|
||||
GameP game = game_list->getSelection<Game>(false);
|
||||
//handle_pending_errors(); // errors are ignored until set window is shown
|
||||
settings.default_game = game->name();
|
||||
stylesheet_list->showData<StyleSheet>(game->name() + _("-*"));
|
||||
stylesheet_list->showData<StyleSheet>(game->name() + _("*"));
|
||||
stylesheet_list->select(settings.gameSettingsFor(*game).default_stylesheet);
|
||||
UpdateWindowUI(wxUPDATE_UI_RECURSE);
|
||||
// resize (yuck)
|
||||
|
||||
Reference in New Issue
Block a user