mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user