mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
LibraryManager warning dialog: \n instead of <br>
This commit is contained in:
@ -184,7 +184,7 @@ public class LibraryManagerUI extends InstallerJDialog {
|
|||||||
boolean managedByIndex = indexer.getIndex().getLibraries().contains(lib);
|
boolean managedByIndex = indexer.getIndex().getLibraries().contains(lib);
|
||||||
|
|
||||||
if (!managedByIndex) {
|
if (!managedByIndex) {
|
||||||
int chosenOption = JOptionPane.showConfirmDialog(getParent(), _("This library is not listed on Library Manager. You won't be able to resinstall it from here.<br/>Are you sure you want to delete it?"), _("Please confirm library deletion"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
|
int chosenOption = JOptionPane.showConfirmDialog(getParent(), _("This library is not listed on Library Manager. You won't be able to resinstall it from here.\nAre you sure you want to delete it?"), _("Please confirm library deletion"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
|
||||||
if (chosenOption != JOptionPane.YES_OPTION) {
|
if (chosenOption != JOptionPane.YES_OPTION) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user