Also add warning dialog
This commit is contained in:
parent
ed7a3a2a72
commit
09494e5b17
@ -294,6 +294,10 @@ public class GeneralPreferencesPanel extends PreferencesPanel {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
JOptionPane.showMessageDialog(parent,
|
||||
trans.get("generalprefs.ImportWarning.msg"),
|
||||
trans.get("generalprefs.ImportWarning.title"),
|
||||
JOptionPane.WARNING_MESSAGE);
|
||||
PreferencesDialog.showPreferences(parent.getParentFrame()); // Refresh the preferences dialog
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user