From 46126d50948f1858b0ec5ada31778ef486afc67a Mon Sep 17 00:00:00 2001 From: Bruce Allen <bdallen@nps.edu> Date: Mon, 25 Mar 2024 14:23:16 -0700 Subject: [PATCH] add title to issue dialog --- python/mp_main_window.py | 2 +- python/report_an_issue.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python/mp_main_window.py b/python/mp_main_window.py index 73fc7c3..6ad1f40 100644 --- a/python/mp_main_window.py +++ b/python/mp_main_window.py @@ -1,5 +1,5 @@ import traceback -from PySide6.QtWidgets import QMainWindow, QMessageBox +from PySide6.QtWidgets import QMainWindow from PySide6.QtCore import Slot from preferences import preferences diff --git a/python/report_an_issue.py b/python/report_an_issue.py index 6a35167..ddcc0fa 100644 --- a/python/report_an_issue.py +++ b/python/report_an_issue.py @@ -17,6 +17,7 @@ _text = 'To report an issue please open the Monterey Phoenix Gryphon ' \ def report_an_issue(parent): mb = QMessageBox(parent) + mb.setWindowTitle("Report an Issue") mb.setTextFormat(Qt.RichText) mb.setText(_text) mb.setStandardButtons(QMessageBox.Ok) -- GitLab