Einige Variablen umbennant
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user