Merge pull request #2 from WabaanoG/main

Now the "Releases" checkbox is True by default
This commit is contained in:
Nix 2024-04-15 20:49:06 -03:00 committed by GitHub
commit dff6275e69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,7 +134,7 @@ class PicomcVersionSelector(QWidget):
snapshot_checkbox = QCheckBox('Snapshots')
alpha_checkbox = QCheckBox('Alpha')
beta_checkbox = QCheckBox('Beta')
release_checkbox.setChecked(True)
# Create dropdown menu for versions
version_combo = QComboBox()
@ -167,6 +167,7 @@ class PicomcVersionSelector(QWidget):
versions = [version.replace('[local]', ' ').strip() for version in versions]
version_combo.addItems(versions)
update_versions()
release_checkbox.clicked.connect(update_versions)
snapshot_checkbox.clicked.connect(update_versions)
alpha_checkbox.clicked.connect(update_versions)