mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-12 23:23:50 +08:00
GUI: Avoid hiding unintitialized window
This commit is contained in:
parent
d96f2c0f70
commit
a051996f12
1 changed files with 3 additions and 4 deletions
|
|
@ -733,10 +733,9 @@ def _main_gui(viewer_mode: bool):
|
|||
if action == "--CANCEL--":
|
||||
break
|
||||
if action == "--NEW-CONFIG--":
|
||||
with HideWindow(window):
|
||||
full_config = config_gui(
|
||||
npbackup.configuration.get_default_config(), config_file
|
||||
)
|
||||
full_config = config_gui(
|
||||
npbackup.configuration.get_default_config(), config_file
|
||||
)
|
||||
if config_file:
|
||||
logger.info(f"Using configuration file {config_file}")
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue