Skip to content

Commit

Permalink
Bug fix for version info showing, v0.57.0.dev3
Browse files Browse the repository at this point in the history
  • Loading branch information
toomanybrians committed Sep 20, 2023
1 parent f0f1295 commit 11fb802
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion mpfmonitor/_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mpf-monitor
__version__ = '0.57.0.dev2'
__version__ = '0.57.0.dev3'
__short_version__ = '0.57'
__bcp_version__ = '1.1'
__config_version__ = '6'
Expand Down
10 changes: 5 additions & 5 deletions mpfmonitor/core/inspector.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import logging
import os

from PyQt6 import uic
# will change these to specific imports once code is more final
from PyQt6.QtCore import *
from PyQt6.QtGui import *
from PyQt6.QtWidgets import *
from PyQt6 import uic

from mpfmonitor._version import __version__, __bcp_version__
from mpfmonitor.core.playfield import Shape

import os


class InspectorWindow(QWidget):

Expand Down Expand Up @@ -41,8 +41,8 @@ def draw_ui(self):

mpf_monitor_version = "MPF Monitor Version: {}".format(__version__)
self.ui.mpf_monitor_version.setText(mpf_monitor_version)
mpf_required_version = "MPF Required Version: {} or greater".format(__mpf_version_required__)
self.ui.mpf_required_version.setText(mpf_required_version)
bcp_required_version = "BCP Version Required: {} or greater".format(__bcp_version__)
self.ui.bcp_required_version.setText(bcp_required_version)

def attach_signals(self):
self.attach_inspector_tab_signals()
Expand Down
6 changes: 3 additions & 3 deletions mpfmonitor/core/ui/inspector.ui
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,13 @@
<item>
<widget class="QGroupBox" name="about_group_box">
<property name="title">
<string>About:</string>
<string>About MPF Monitor:</string>
</property>
<layout class="QFormLayout" name="formLayout_3">
<item row="2" column="0">
<widget class="QLabel" name="mpf_required_version">
<widget class="QLabel" name="bcp_required_version">
<property name="text">
<string>MPF Required Version:</string>
<string>BCP Version Required:</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 11fb802

Please sign in to comment.