Commit 176274f7 authored by Markus Bauer's avatar Markus Bauer
Browse files

Icon

parent 69b39e94
......@@ -118,6 +118,8 @@ public class ExportOnlineDialog extends JDialog {
PseuCoShare pcs = new PseuCoShare();
uri = pcs.submitFile("pseuco", filename, code, true);
pcs.openInBrowser(uri);
exportThread = null;
dispose();
}catch(Exception e){
final Exception e2 = e;
try {
......
......@@ -407,9 +407,11 @@ public class GUI extends JFrame {
}
};
action.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("control shift F5"));
action.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("F9"));
menuExportOnline = new JButton(action);
helpItem(menuExportOnline, "Sends the file to pseuco.com (Ctrl+Shift+F5)", "/resources/resumebtnbig"); //TODO
menuExportOnline.getActionMap().put("Export online", action);
menuExportOnline.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put((KeyStroke) action.getValue(Action.ACCELERATOR_KEY), "Export online");
helpItem(menuExportOnline, "Sends the file to pseuco.com (F9)", "/resources/external_link");
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment