From e4751c325b07dc32b54f53c743d9bc23d933e5bd Mon Sep 17 00:00:00 2001 From: saturneric Date: Thu, 19 Jun 2025 03:44:00 +0200 Subject: fix(UpdateTab): correct condition for showing unpublished commit message - fix logic error in version status check - show warning when commit hash is not found in remote - previously showed warning when hash was found (inverse of intended behavior) --- src/m_ver_check/UpdateTab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_ver_check/UpdateTab.cpp b/src/m_ver_check/UpdateTab.cpp index 7f4a321..b28ccf3 100644 --- a/src/m_ver_check/UpdateTab.cpp +++ b/src/m_ver_check/UpdateTab.cpp @@ -194,7 +194,7 @@ void UpdateTab::slot_show_version_status() { ""); upgrade_label_->show(); upgrade_info_box_->show(); - } else if (is_current_commit_hash_publish_in_remote != 0) { + } else if (is_current_commit_hash_publish_in_remote == 0) { upgrade_label_->setText( "
" + tr("The commit hash for this build was not found in the official " -- cgit v1.2.3