Refinement of SF+ Optics -> Still needs position checks with HolyList

This commit is contained in:
reiche committed 2026-01-26 12:51:50 +01:00
1 parent d84a067240
commit 3a82d2d464
10 files changed
+301 -267

No files matched your search

+6 -1
View File
@@ -41,7 +41,10 @@ class OpticsTools(QtWidgets.QMainWindow, QtCore.QObject, Ui_OpticsGUI):
self.UIMatchOpticsSelect.clear()
for key in self.match.matchlist.keys():
self.UIMatchOpticsSelect.addItem(key)
self.UIMatchOpticsSelect.setCurrentIndex(0)
if phase == 0:
self.UIMatchOpticsSelect.setCurrentIndex(0)
else:
self.UIMatchOpticsSelect.setCurrentIndex(1)
self.updateMatchingCase()
@@ -95,6 +98,8 @@ class OpticsTools(QtWidgets.QMainWindow, QtCore.QObject, Ui_OpticsGUI):
if self.UISaveMatchSettings.isChecked():
fileName = self.match.scriptdir+'/settings.json'
self.saveSettingsdirect(fileName)
if self.UIReportMatchStrength.isChecked():
self.model.checkMagnetLimit()
def updateMatchingCase(self):