Skip to content

Commit 0c85974

Browse files
committed
🎨 do not reset directories when nothing is set, adj. app size
1 parent 65465b9 commit 0c85974

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gui/app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,16 @@ def select_directory():
171171
if not inital_dir:
172172
inital_dir = Path.home()
173173
directory = filedialog.askdirectory(initialdir=inital_dir)
174-
string_var.set(directory)
174+
if directory:
175+
string_var.set(directory)
175176

176177
return select_directory
177178

178179

179180
##########################################################################################
180181
# APP
181182
app = customtkinter.CTk()
182-
app.geometry("620x600")
183+
app.geometry("620x840")
183184
app.title("VueGen GUI")
184185
row_count = 0
185186
##########################################################################################

0 commit comments

Comments
 (0)