(Fixes Issue 415)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
6712fccbc3
commit
15a37f86ef
@ -306,11 +306,11 @@ public final class ModelImporterVisualPanel1 extends JPanel implements AssetEven
|
|||||||
if (loading.get()) {
|
if (loading.get()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
loading.set(true);
|
|
||||||
FileChooserBuilder builder = new FileChooserBuilder(this.getClass());
|
FileChooserBuilder builder = new FileChooserBuilder(this.getClass());
|
||||||
builder.setTitle("Select Model File");
|
builder.setTitle("Select Model File");
|
||||||
final File file = builder.showOpenDialog();
|
final File file = builder.showOpenDialog();
|
||||||
if (file != null) {
|
if (file != null) {
|
||||||
|
loading.set(true);
|
||||||
jTextField1.setText(file.getAbsolutePath());
|
jTextField1.setText(file.getAbsolutePath());
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user