GUI: Move Encrypted data placeholder for op usage

This commit is contained in:
Orsiris de Jong 2024-06-16 16:08:15 +02:00
parent 5f2e6c2515
commit 959afc8a95

View file

@ -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