fix bug in progress dialog
git-svn-id: https://osmand.googlecode.com/svn/trunk@82 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
2db2b5131f
commit
2669af71a2
1 changed files with 7 additions and 7 deletions
|
@ -76,10 +76,11 @@ public class ProgressDialog extends JDialog implements IProgress {
|
||||||
if (run != null) {
|
if (run != null) {
|
||||||
run.run();
|
run.run();
|
||||||
}
|
}
|
||||||
isLive = false;
|
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
exception = new InvocationTargetException(e);
|
exception = new InvocationTargetException(e);
|
||||||
} finally {
|
} finally {
|
||||||
|
isLive = false;
|
||||||
|
}
|
||||||
SwingUtilities.invokeLater(new Runnable() {
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -87,7 +88,6 @@ public class ProgressDialog extends JDialog implements IProgress {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue