From 767a6abbcb3f36db0e904a88955620edbea03050 Mon Sep 17 00:00:00 2001 From: ReimarBauer Date: Sat, 5 Oct 2024 12:25:18 +0200 Subject: [PATCH] autoplot: undo removinvg show release_info --- mslib/msui/msui_mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mslib/msui/msui_mainwindow.py b/mslib/msui/msui_mainwindow.py index b3c3663d0..b89defb1f 100644 --- a/mslib/msui/msui_mainwindow.py +++ b/mslib/msui/msui_mainwindow.py @@ -50,6 +50,7 @@ from mslib.msui.icons import icons, python_powered from mslib.utils.qt import get_open_filenames, get_save_filename, show_popup from mslib.utils.config import read_config_file, config_loader +from mslib.utils import release_info from PyQt5 import QtGui, QtCore, QtWidgets, QtTest from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas @@ -407,6 +408,7 @@ def __init__(self, parent=None): super().__init__(parent) self.setupUi(self) self.lblVersion.setText(f"Version: {__version__}") + self.lblNewVersion.setText(f"{release_info.check_for_new_release()[0]}") self.milestone_url = f'https://github.com/Open-MSS/MSS/issues?q=is%3Aclosed+milestone%3A{__version__[:-1]}' self.lblChanges.setText(f'New Features and Changes') blub = QtGui.QPixmap(python_powered())