Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VAPython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institute of Technical Acoustics (ITA)
VAPython
Commits
9a594268
Commit
9a594268
authored
7 months ago
by
Philipp Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
python VAServer.exe selection: bring UI to the front and print respective hint
parent
82a45dcc
No related branches found
No related tags found
1 merge request
!21
Improve userfriendlyness of VAServer.exe selection
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/vapython/_helper.py
+2
-0
2 additions, 0 deletions
src/vapython/_helper.py
with
2 additions
and
0 deletions
src/vapython/_helper.py
+
2
−
0
View file @
9a594268
...
@@ -204,7 +204,9 @@ def find_server_executable() -> Optional[Path]:
...
@@ -204,7 +204,9 @@ def find_server_executable() -> Optional[Path]:
root
=
tk
.
Tk
()
root
=
tk
.
Tk
()
root
.
withdraw
()
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
(
executable_raw
=
filedialog
.
askopenfilename
(
title
=
"
Select VAServer executable
"
,
title
=
"
Select VAServer executable
"
,
filetypes
=
[(
"
VAServer executable
"
,
"
*.exe
"
)],
filetypes
=
[(
"
VAServer executable
"
,
"
*.exe
"
)],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment