282283284285286287288289290291292
if (!checkCurrentFileSaved()) { return; } try { Dialogs dialogs = new Dialogs(); setDialogs(dialogs); } catch (QuestEditorException ex) { GuiTools.errorDialog("Cannot create the dialogs: " + ex.getMessage()); } }
309310311312313314315316317318319
if (dialogsId.length() == 0) { return; } try { Dialogs dialogs = new Dialogs(dialogsId); setDialogs(dialogs); } catch (QuestEditorException ex) { GuiTools.errorDialog("Could not load the dialogs: " + ex.getMessage()); } }