From 69d16a6029766455f86b1f23702a1602bdc3eb24 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Mon, 21 Nov 2016 08:23:04 +0200 Subject: [PATCH] Exit program when running external application. --- instantlauncher.iml | 1 - .../java/eu/svjatoslav/instantlauncher/menu/MultiLevelMenu.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1