Fixed: custom keywords not immediatly active;

Version bump;
Moved the busy cursor to actual loading of set;

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@364 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-05-13 23:55:37 +00:00
parent 41989c0755
commit 04366b3505
3 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -404,9 +404,9 @@ void SetWindow::onFileNew(wxCommandEvent&) {
void SetWindow::onFileOpen(wxCommandEvent&) {
if (!askSaveAndContinue()) return;
wxBusyCursor busy;
wxFileDialog dlg(this, _TITLE_("open set"), _(""), _(""), import_formats(), wxOPEN);
if (dlg.ShowModal() == wxID_OK) {
wxBusyCursor busy;
setSet(import_set(dlg.GetPath()));
}
}
@@ -415,6 +415,7 @@ void SetWindow::onFileSave(wxCommandEvent& ev) {
if (set->needSaveAs()) {
onFileSaveAs(ev);
} else {
wxBusyCursor busy;
settings.addRecentFile(set->absoluteFilename());
set->save();
set->actions.setSavePoint();