mirror of
https://github.com/Wisser/Jailer.git
synced 2026-05-01 19:49:15 -05:00
Proposal for the file name if exactly 1 model is to be exported.
This commit is contained in:
@@ -472,7 +472,11 @@ public class ExportPanel extends javax.swing.JPanel {
|
||||
String cmsf = DataModelManager.getCurrentModelSubfolder(executionContext);
|
||||
try {
|
||||
DataModelManager.setCurrentModelSubfolder(null, executionContext);
|
||||
String file = UIUtil.choseFile(null, ".", dialog.getTitle(), EXPORT_FILE_EXTENSION, ExportPanel.this, true, false, false);
|
||||
File proposal = null;
|
||||
if (selectedModels.size() == 1) {
|
||||
proposal = new File(selectedModels.iterator().next() + EXPORT_FILE_EXTENSION);
|
||||
}
|
||||
String file = UIUtil.choseFile(proposal, ".", dialog.getTitle(), EXPORT_FILE_EXTENSION, ExportPanel.this, true, false, false);
|
||||
UIUtil.setWaitCursor(this);
|
||||
if (file != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user