1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Reintroduced copy error button.

Revert "Reverted 'copy error' button for 1.0.5, waiting for a better UI design"

This reverts commit cf4584eb29.
This commit is contained in:
Cristian Maglie 2013-05-22 12:19:59 +02:00
parent 203ca4f2fa
commit ec7996e8be

View File

@ -125,7 +125,7 @@ public class EditorStatus extends JPanel /*implements ActionListener*/ {
public void error(String message) {
mode = ERR;
this.message = message;
// copyErrorButton.setVisible(true);
copyErrorButton.setVisible(true);
repaint();
}
@ -196,7 +196,7 @@ public class EditorStatus extends JPanel /*implements ActionListener*/ {
progressBar.setIndeterminate(true);
progressBar.setValue(50);
progressBar.setVisible(true);
// copyErrorButton.setVisible(false);
copyErrorButton.setVisible(false);
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
repaint();
}