Unifica finestre errori con testo completo, copia ed esportazione
This commit is contained in:
@@ -6,7 +6,8 @@ import asyncio
|
||||
import tkinter as tk
|
||||
from datetime import date
|
||||
from decimal import Decimal
|
||||
from tkinter import filedialog, messagebox, ttk
|
||||
import error_dialog as messagebox
|
||||
from tkinter import filedialog, ttk
|
||||
|
||||
import customtkinter as ctk
|
||||
|
||||
@@ -234,7 +235,7 @@ class InventarioWindow(ctk.CTkToplevel):
|
||||
self._set_loading(False)
|
||||
log_exception(__name__, error, context="inventory report/export")
|
||||
self.var_status.set(self._t("inventory.failed"))
|
||||
messagebox.showerror(self._t("inventory.title"), str(error), parent=self)
|
||||
messagebox.showerror(self._t("inventory.title"), str(error), parent=self, exception=error)
|
||||
|
||||
def _export(self):
|
||||
if self._loading or not self._report or not self._rows:
|
||||
|
||||
Reference in New Issue
Block a user