mirror of
https://github.com/netinvent/npbackup.git
synced 2024-09-20 14:56:14 +08:00
GUI: Move Encrypted data placeholder for op usage
This commit is contained in:
parent
5f2e6c2515
commit
959afc8a95
|
@ -64,6 +64,9 @@ def delete(self, key):
|
|||
sg.TreeData.delete = delete
|
||||
|
||||
|
||||
ENCRYPTED_DATA_PLACEHOLDER = "<{}>".format(_t("config_gui.encrypted_data"))
|
||||
|
||||
|
||||
def ask_manager_password(manager_password: str) -> bool:
|
||||
if manager_password:
|
||||
if sg.PopupGetText(
|
||||
|
@ -111,8 +114,6 @@ def config_gui(full_config: dict, config_file: str):
|
|||
|
||||
byte_units = ["B", "KB", "KiB", "MB", "MiB", "GB", "GiB", "TB", "TiB", "PB", "PiB"]
|
||||
|
||||
ENCRYPTED_DATA_PLACEHOLDER = "<{}>".format(_t("config_gui.encrypted_data"))
|
||||
|
||||
def get_objects() -> List[str]:
|
||||
"""
|
||||
Adds repos and groups in a list for combobox
|
||||
|
|
Loading…
Reference in a new issue