Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add dialog to Launcher when user open two instances of JabRef, second one will open dialog saying Localization.lang("Another JabRef instance is already running. Please switch to that instance.") * change it in JavaFX implement change it in JavaFX implement * fix base on comment 1. Refactor the message when user starts JabRef a second time. now it is"Another JabRef instance is already running. Please switch to that instance." not "Passing arguments passed on to running JabRef..." 2. send a message from second instance to first instance to open a dialog in exist instance * push the test code don't merge I know I should not close the first instance, I'm testing. I push this code since @calixtus ask me to push it. * update based on DevCall decision - a little difference between DevCall decision, since before `initialize()` the UiTaskExecutor and dialogService is null, I arrange the dialog code after `initialize()` * only change debug log without dialog 1. only change debug log without dialog 2. add a null check before closing taskExecutor * fix a logger level to warn fix comment position * fix revert missing empty line fix revert missing empty line * fix the comment "We do not launch a new instance in presence of an error" to "We do not launch a new instance in presence if there is another instance running"
- Loading branch information