Unifica finestre errori con testo completo, copia ed esportazione
This commit is contained in:
@@ -13,7 +13,8 @@ from pathlib import Path
|
||||
from typing import Any, Callable
|
||||
|
||||
import customtkinter as ctk
|
||||
from tkinter import messagebox, ttk
|
||||
import error_dialog as messagebox
|
||||
from tkinter import ttk
|
||||
|
||||
from gestione_aree import AsyncRunner
|
||||
from audit_log import log_user_action
|
||||
@@ -640,6 +641,7 @@ class ScaricoDialog(ctk.CTkToplevel):
|
||||
loc_text("scarico.msg.title", catalog=self._locale_catalog, default="Scarica"),
|
||||
loc_text("scarico.msg.load_error", catalog=self._locale_catalog, default="Caricamento UDC fallito:\n{error}").format(error=ex),
|
||||
parent=self,
|
||||
exception=ex,
|
||||
)
|
||||
self._close()
|
||||
|
||||
@@ -842,6 +844,7 @@ class ScaricoDialog(ctk.CTkToplevel):
|
||||
loc_text("scarico.msg.title", catalog=self._locale_catalog, default="Scarica"),
|
||||
loc_text("scarico.msg.exec_error", catalog=self._locale_catalog, default="Scarico fallito:\n{error}").format(error=ex),
|
||||
parent=self,
|
||||
exception=ex,
|
||||
)
|
||||
|
||||
self._async.run(
|
||||
|
||||
Reference in New Issue
Block a user