👷 Converted all Enums to StrEnum

This commit is contained in:
Robert Honz
2024-04-02 16:16:38 +02:00
parent bd2e7ec703
commit 007900eafe
2 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import os.path
import webbrowser
from enum import Enum
from enum import StrEnum
from pathlib import Path
from PySide6 import QtCore, QtGui, QtWidgets
@@ -102,7 +102,7 @@ class DialogPreferences(QtWidgets.QDialog):
icon: QtGui.QIcon
help_settings: HelpSettings
parameters_checkboxes: [str]
parameters_combo: [(str, Enum)]
parameters_combo: [(str, StrEnum)]
parameters_line_edit: [str]
prefix_checkbox: str = "cb_"
prefix_label: str = "l_"