menu item for easier bug reports; renaming of plot to graph; fixes T237; fixes T241;

This commit is contained in:
Dominik Demuth
2022-11-28 20:37:06 +01:00
parent 69206235af
commit 377454b683
5 changed files with 42 additions and 5 deletions

View File

@ -8,6 +8,7 @@ from numpy import geomspace, linspace
from pyqtgraph import ViewBox, PlotDataItem
from nmreval.configs import *
from nmreval.lib.utils import open_bug_report
from .management import UpperManagement
from ..Qt import QtCore, QtGui, QtPrintSupport, QtWidgets
@ -994,3 +995,7 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow):
def read_state(self):
opts = read_state()
self.path = pathlib.Path(opts.get('recent_path', Path.home()))
@QtCore.pyqtSlot(name='on_actionBugs_triggered')
def report_bug(self):
open_bug_report()