Porównaj commity

...

1 Commity

Autor SHA1 Wiadomość Data
Mark Jessop edb3ccfbd1 Fix re-upload button 2024-05-17 19:46:09 +09:30
4 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -1 +1 @@
__version__ = "0.3.17"
__version__ = "0.3.18"

Wyświetl plik

@ -76,7 +76,7 @@ def read_config(widgets):
global qt_settings, default_config
# This is getting a bit ridiculous, need to re-think this approach.
OK_VERSIONS = [__version__, '0.3.16', '0.3.15', '0.3.14', '0.3.13', '0.3.12', '0.3.11', '0.3.10', '0.3.9', '0.3.8', '0.3.7', '0.3.6', '0.3.5', '0.3.4', '0.3.1', '0.2.1']
OK_VERSIONS = [__version__, '0.3.17', '0.3.16', '0.3.15', '0.3.14', '0.3.13', '0.3.12', '0.3.11', '0.3.10', '0.3.9', '0.3.8', '0.3.7', '0.3.6', '0.3.5', '0.3.4', '0.3.1', '0.2.1']
# Try and read in the version parameter from QSettings
if qt_settings.value("version") not in OK_VERSIONS:

Wyświetl plik

@ -709,7 +709,7 @@ telemetry_logger = TelemetryLogger(
# Handlers for various checkboxes and push-buttons
def habitat_position_reupload(upload=True):
def habitat_position_reupload(dummy_arg, upload=True):
""" Trigger a re-upload of user position information """
global widgets, sondehub_uploader
@ -726,13 +726,14 @@ def habitat_position_reupload(upload=True):
if upload:
sondehub_uploader.last_user_position_upload = 0
logging.info("Triggered user position re-upload.")
widgets["habitatUploadPosition"].clicked.connect(habitat_position_reupload)
# Update uploader info as soon as it's edited, to ensure we upload with the latest user callsign
def update_uploader_details():
habitat_position_reupload(False)
habitat_position_reupload(upload=False)
widgets["userCallEntry"].textEdited.connect(update_uploader_details)

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry]
name = "horusgui"
version = "0.3.17"
version = "0.3.18"
description = ""
authors = ["Mark Jessop <vk5qi@rfhead.net>"]