mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 06:54:54 +08:00
GUI: Show file name in configuration window title
This commit is contained in:
parent
5bc6acaa16
commit
9ab3fb8850
1 changed files with 5 additions and 2 deletions
|
@ -2055,8 +2055,8 @@ Google Cloud storage: GOOGLE_PROJECT_ID GOOGLE_APPLICATION_CREDENTIALS\n\
|
|||
|
||||
right_click_menu = ["", [_t("config_gui.show_decrypted")]]
|
||||
window = sg.Window(
|
||||
"Configuration",
|
||||
config_layout(),
|
||||
title="Configuration",
|
||||
layout=config_layout(),
|
||||
# size=(800, 650),
|
||||
auto_size_text=True,
|
||||
auto_size_buttons=False,
|
||||
|
@ -2089,6 +2089,9 @@ Google Cloud storage: GOOGLE_PROJECT_ID GOOGLE_APPLICATION_CREDENTIALS\n\
|
|||
current_object_type = None
|
||||
current_object_name = None
|
||||
|
||||
if config_file:
|
||||
window.set_title(f"Configuration - {config_file}")
|
||||
|
||||
while True:
|
||||
event, values = window.read()
|
||||
# Get object type for various delete operations
|
||||
|
|
Loading…
Add table
Reference in a new issue