Added code to prevent selection of 'Make Timeline' (from Tools menu) from

running timeline again and opening additional windows.
This commit is contained in:
Tim McIver 2013-02-08 14:15:47 -05:00 committed by Sean-M
parent 557213f07c
commit f3bf8d0b9a

View File

@ -970,6 +970,11 @@ public class Simile2 extends CallableSystemAction implements Presenter.Toolbar,
} else { } else {
logger.log(Level.INFO, "Beginning generation of timeline"); logger.log(Level.INFO, "Beginning generation of timeline");
// if the timeline window is already open, do nothing
if (jf != null && jf.isVisible()) {
return;
}
Platform.setImplicitExit(false); Platform.setImplicitExit(false);
// listen for case changes (specifically images being added). // listen for case changes (specifically images being added).