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:
twanvl
2007-02-13 18:17:45 +00:00
parent 914f1186f2
commit f855b6a690
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -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);