mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
mtg editor import
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@118 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -75,7 +75,7 @@ SetP MSE1FileFormat::importSet(const String& filename) {
|
||||
if (stylesheet.substr(0,3) == _("old")) {
|
||||
try {
|
||||
set->stylesheet = StyleSheet::byGameAndName(*set->game, _("old"));
|
||||
} catch (Error) {
|
||||
} catch (const Error&) {
|
||||
// If old style doesn't work try the new one
|
||||
set->stylesheet = StyleSheet::byGameAndName(*set->game, _("new"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user