shift-click on export will export as application

This commit is contained in:
benfry
2005-11-29 20:07:59 +00:00
parent 98f24510be
commit bb508a5382
2 changed files with 29 additions and 7 deletions

View File

@@ -332,10 +332,25 @@ public class EditorButtons extends JComponent implements MouseInputListener {
}
break;
case OPEN: setState(OPEN, INACTIVE, true); break;
case NEW: editor.handleNew(e.isShiftDown()); break;
case SAVE: editor.handleSave(); break;
case EXPORT: editor.handleExport(); break;
case OPEN:
setState(OPEN, INACTIVE, true);
break;
case NEW:
editor.handleNew(e.isShiftDown());
break;
case SAVE:
editor.handleSave();
break;
case EXPORT:
if (e.isShiftDown()) {
editor.handleExportApplication();
} else {
editor.handleExport();
}
break;
}
currentSelection = -1;
}