From 9a5942680bd89bc5afb7e25d6118dc910f4eec40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20Sch=C3=A4fer?=
 <pschaefer@ITA.AKUSTIK.RWTH-AACHEN.DE>
Date: Wed, 20 Nov 2024 09:19:08 +0100
Subject: [PATCH] python VAServer.exe selection: bring UI to the front and
 print respective hint

---
 src/vapython/_helper.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/vapython/_helper.py b/src/vapython/_helper.py
index 06f09ec..3dcf2ab 100644
--- a/src/vapython/_helper.py
+++ b/src/vapython/_helper.py
@@ -204,7 +204,9 @@ def find_server_executable() -> Optional[Path]:
 
             root = tk.Tk()
             root.withdraw()
+            root.attributes('-topmost', 1)
 
+            print("NOTE: A window has opened for specifying the path to the 'VAServer.exe'. This should be located in the `bin` subfolder of the respective VA directory.")
             executable_raw = filedialog.askopenfilename(
                 title="Select VAServer executable",
                 filetypes=[("VAServer executable", "*.exe")],
-- 
GitLab