diff --git a/src/ui/AppSettings.py b/src/ui/AppSettings.py index 943782e..8926da3 100644 --- a/src/ui/AppSettings.py +++ b/src/ui/AppSettings.py @@ -1,4 +1,4 @@ -from PySide6.QtWidgets import QDialog, QTableWidgetItem, QFileDialog, QHeaderView +from PySide6.QtWidgets import QDialog, QTableWidgetItem, QHeaderView from pathlib import Path from ui.AppSettings_ui import Ui_Dialog @@ -56,7 +56,7 @@ class AppSettingsDlg(QDialog): # Saxon Tab self.ui.addSaxon.clicked.connect(self._add_saxon) - self.ui.removveSaxon.clicked.connect(self._remove_saxon) + self.ui.removeSaxon.clicked.connect(self._remove_saxon) self.ui.tableSaxons.itemSelectionChanged.connect(self._update_saxon_buttons) # Apache FOP Tab @@ -238,7 +238,7 @@ class AppSettingsDlg(QDialog): def _update_saxon_buttons(self): """Aktualisiert den Status der Saxon-Buttons.""" has_selection = self.ui.tableSaxons.currentRow() >= 0 - self.ui.removveSaxon.setEnabled(has_selection) + self.ui.removeSaxon.setEnabled(has_selection) # Apache FOP Methoden def _add_apache_fop(self): diff --git a/src/ui/AppSettings.ui b/src/ui/AppSettings.ui index 6db3f24..21ba05b 100644 --- a/src/ui/AppSettings.ui +++ b/src/ui/AppSettings.ui @@ -216,7 +216,7 @@ - + false @@ -380,7 +380,7 @@ - + 1 diff --git a/src/ui/AppSettings_ui.py b/src/ui/AppSettings_ui.py index daf4eaf..decf755 100644 --- a/src/ui/AppSettings_ui.py +++ b/src/ui/AppSettings_ui.py @@ -139,12 +139,12 @@ class Ui_Dialog(object): self.horizontalLayout_4.addWidget(self.addSaxon) - self.removveSaxon = QPushButton(self.frame_4) - self.removveSaxon.setObjectName(u"removveSaxon") - self.removveSaxon.setEnabled(False) - self.removveSaxon.setIcon(icon1) + self.removeSaxon = QPushButton(self.frame_4) + self.removeSaxon.setObjectName(u"removeSaxon") + self.removeSaxon.setEnabled(False) + self.removeSaxon.setIcon(icon1) - self.horizontalLayout_4.addWidget(self.removveSaxon) + self.horizontalLayout_4.addWidget(self.removeSaxon) self.verticalLayout_4.addWidget(self.frame_4) @@ -230,13 +230,13 @@ class Ui_Dialog(object): self.tabPdfProject.setObjectName(u"tabPdfProject") self.verticalLayout_7 = QVBoxLayout(self.tabPdfProject) self.verticalLayout_7.setObjectName(u"verticalLayout_7") - self.tablePdfProjekts = QTableWidget(self.tabPdfProject) - if (self.tablePdfProjekts.columnCount() < 1): - self.tablePdfProjekts.setColumnCount(1) - self.tablePdfProjekts.setObjectName(u"tablePdfProjekts") - self.tablePdfProjekts.setColumnCount(1) + self.tablePdfProjects = QTableWidget(self.tabPdfProject) + if (self.tablePdfProjects.columnCount() < 1): + self.tablePdfProjects.setColumnCount(1) + self.tablePdfProjects.setObjectName(u"tablePdfProjects") + self.tablePdfProjects.setColumnCount(1) - self.verticalLayout_7.addWidget(self.tablePdfProjekts) + self.verticalLayout_7.addWidget(self.tablePdfProjects) self.frame_6 = QFrame(self.tabPdfProject) self.frame_6.setObjectName(u"frame_6") @@ -295,7 +295,7 @@ class Ui_Dialog(object): self.removeJavaVm.setText(QCoreApplication.translate("Dialog", u"Entfernen", None)) self.tabSettings.setTabText(self.tabSettings.indexOf(self.tabJavaVm), QCoreApplication.translate("Dialog", u"Java VM", None)) self.addSaxon.setText(QCoreApplication.translate("Dialog", u"Hinzuf\u00fcgen", None)) - self.removveSaxon.setText(QCoreApplication.translate("Dialog", u"Entfernen", None)) + self.removeSaxon.setText(QCoreApplication.translate("Dialog", u"Entfernen", None)) self.tabSettings.setTabText(self.tabSettings.indexOf(self.tabSaxon), QCoreApplication.translate("Dialog", u"Saxon", None)) self.addApacheFop.setText(QCoreApplication.translate("Dialog", u"Hinzuf\u00fcgen", None)) self.removeApacheFop.setText(QCoreApplication.translate("Dialog", u"Entfernen", None))