mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
some fixes to image import
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@204 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -153,6 +153,7 @@ void SymbolWindow::onFileOpen(wxCommandEvent& ev) {
|
||||
Reader reader(new_shared1<wxFileInputStream>(name), name);
|
||||
reader.handle_greedy(symbol);
|
||||
} else {
|
||||
wxBusyCursor busy;
|
||||
Image image(name);
|
||||
if (!image.Ok()) return;
|
||||
symbol = import_symbol(image);
|
||||
|
||||
Reference in New Issue
Block a user