mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Fixed spoiler export template
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@683 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -64,7 +64,9 @@ void HtmlExportWindow::onOk(wxCommandEvent&) {
|
||||
info.directory_relative = fn.GetName() + _("-files");
|
||||
fn.SetFullName(info.directory_relative);
|
||||
info.directory_absolute = fn.GetFullPath();
|
||||
wxMkdir(info.directory_absolute);
|
||||
if (!wxDirExists(info.directory_absolute)) {
|
||||
wxMkdir(info.directory_absolute);
|
||||
}
|
||||
}
|
||||
// run export script
|
||||
Context& ctx = set->getContext();
|
||||
|
||||
Reference in New Issue
Block a user