mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Add option to download missing stylesheets on startup
This commit is contained in:
@@ -816,8 +816,8 @@ ImportedImage::ImportedImage(Set* set, const String& filepath) {
|
||||
// determine save name
|
||||
loadpath = filepath;
|
||||
savename = normalize_internal_filename(loadpath);
|
||||
savename.Replace(":", "-");
|
||||
savename.Replace("/", "-");
|
||||
savename.Replace(_(":"), _("-"));
|
||||
savename.Replace(_("/"), _("-"));
|
||||
|
||||
// does the file pointed to by filepath exist?
|
||||
if (!wxFileName(loadpath, wxPATH_UNIX).FileExists()) {
|
||||
|
||||
Reference in New Issue
Block a user