Moar terse.

This commit is contained in:
jdf
2010-03-03 19:26:48 +00:00
parent 5e19ba4d74
commit 20a2f26f8f
+1 -5
View File
@@ -1643,11 +1643,7 @@ public class Editor extends JFrame implements RunnerListener {
// Cannot use invokeLater() here, otherwise it gets
// placed on the event thread and causes a hang--bad idea all around.
if (present) {
new Thread(presentHandler).start();
} else {
new Thread(runHandler).start();
}
new Thread(present ? presentHandler : runHandler).start();
}