Merge pull request #1741 from SiboVG/issue-1167
[#1167] Remove modality for thrust curve import error dialog
This commit is contained in:
commit
be8ecc36bb
@ -153,7 +153,8 @@ public class MotorDatabaseLoader extends AsynchronousDatabaseLoader {
|
|||||||
"<br>" + trans.get("MotorDbLoaderDlg.message2") + "</p></body></html>";
|
"<br>" + trans.get("MotorDbLoaderDlg.message2") + "</p></body></html>";
|
||||||
JOptionPane pane = new JOptionPane(message, JOptionPane.WARNING_MESSAGE);
|
JOptionPane pane = new JOptionPane(message, JOptionPane.WARNING_MESSAGE);
|
||||||
JDialog dialog = pane.createDialog(null, trans.get("MotorDbLoaderDlg.title"));
|
JDialog dialog = pane.createDialog(null, trans.get("MotorDbLoaderDlg.title"));
|
||||||
dialog.setModalityType(Dialog.ModalityType.DOCUMENT_MODAL);
|
dialog.setModalityType(Dialog.ModalityType.MODELESS);
|
||||||
|
dialog.setAlwaysOnTop(true);
|
||||||
dialog.setVisible(true);
|
dialog.setVisible(true);
|
||||||
}
|
}
|
||||||
f.getV().close();
|
f.getV().close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user