From: Svjatoslav Agejenko Date: Mon, 21 Nov 2016 06:23:04 +0000 (+0200) Subject: Exit program when running external application. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=69d16a6029766455f86b1f23702a1602bdc3eb24;p=instantlauncher.git Exit program when running external application. --- diff --git a/instantlauncher.iml b/instantlauncher.iml index e1061c8..29f95d9 100644 --- a/instantlauncher.iml +++ b/instantlauncher.iml @@ -5,7 +5,6 @@ - diff --git a/src/main/java/eu/svjatoslav/instantlauncher/menu/MultiLevelMenu.java b/src/main/java/eu/svjatoslav/instantlauncher/menu/MultiLevelMenu.java index de2e4c5..0134ce4 100755 --- a/src/main/java/eu/svjatoslav/instantlauncher/menu/MultiLevelMenu.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/menu/MultiLevelMenu.java @@ -108,6 +108,7 @@ public class MultiLevelMenu implements MenuListener { if (chosenFile.isFile()) { if (chosenFile.canExecute()) { executeCommand(chosenFile.getAbsolutePath()); + InstantLauncher.exitProgram(); } else { boolean fileOpened; try {