only show ignore auto updates on windows

This commit is contained in:
2026-01-24 10:28:58 +01:00
parent d057624548
commit b783d0a0cb
+3
View File
@@ -13,6 +13,7 @@ from PySide6.QtWidgets import (
QSpinBox, QSpinBox,
QCheckBox, QCheckBox,
) )
import platform
def settings_dialog(self): def settings_dialog(self):
@@ -32,6 +33,8 @@ def settings_dialog(self):
update_checkbox_layout = QHBoxLayout() update_checkbox_layout = QHBoxLayout()
# ignore updates checkbox # ignore updates checkbox
if platform.system() == "Windows":
update_checkbox = QCheckBox() update_checkbox = QCheckBox()
update_checkbox_container.setLayout(update_checkbox_layout) update_checkbox_container.setLayout(update_checkbox_layout)
update_checkbox_layout.addWidget(QLabel("Ignore Updates: ")) update_checkbox_layout.addWidget(QLabel("Ignore Updates: "))