Unifica finestre errori con testo completo, copia ed esportazione

This commit is contained in:
2026-10-23 10:57:35 +02:00
parent fc43cbb7ec
commit 9d87b07648
24 changed files with 570 additions and 66 deletions

View File

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