kopia lustrzana https://github.com/jameshball/osci-render
Add appropriate error message on file save error
rodzic
f97c5076e5
commit
283094b84a
|
@ -252,7 +252,7 @@ public class Controller implements Initializable {
|
||||||
input.close();
|
input.close();
|
||||||
recordLabel.setText("Saved to " + file.getAbsolutePath());
|
recordLabel.setText("Saved to " + file.getAbsolutePath());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
recordLabel.setText("");
|
recordLabel.setText("Error saving file");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue