private static final Logger logger = Logger.getLogger(Main.class.getName());
/** The version. */
- private static final Version VERSION = new Version(0, 9, 1);
+ private static final Version VERSION = new Version(0, 9, 2);
/** The configuration. */
private Configuration configuration;
nodeMenu.setEnabled(false);
optionsPreferencesAction.setEnabled(false);
} else if ("page.project.insert".equals(pageName)) {
- showPage(PageType.PAGE_PROJECTS);
- nodeMenu.setEnabled(true);
- optionsPreferencesAction.setEnabled(true);
+ ProjectInsertPage projectInsertPage = (ProjectInsertPage) pages.get(PageType.PAGE_INSERT_PROJECT);
+ if (projectInsertPage.isRunning()) {
+ projectInsertPage.stopInsert();
+ } else {
+ showPage(PageType.PAGE_PROJECTS);
+ nodeMenu.setEnabled(true);
+ optionsPreferencesAction.setEnabled(true);
+ }
} else if ("page.preferences".equals(pageName)) {
showPage(PageType.PAGE_PROJECTS);
optionsPreferencesAction.setEnabled(true);