Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
frmCurveEditor, frmTimeseries -- view graphs need to be modal
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDudaRESPEC committed Sep 11, 2019
1 parent e2bef06 commit 098f874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/SWMM/frmCurveEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def btnView_Clicked(self):
frm_plt = frmPlotViewer(df,'xy',self.curve_type + ' Curve ' + self.txtCurveName.text(), self.windowIcon(),
self.tblMult.horizontalHeaderItem(0).text(), self.tblMult.horizontalHeaderItem(1).text())
frm_plt.setWindowTitle('Curve Viewer')
frm_plt.setWindowModality(QtCore.Qt.ApplicationModal)
frm_plt.show()
pass

Expand Down
1 change: 1 addition & 0 deletions src/ui/SWMM/frmTimeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def btnView_Clicked(self):
df = pd.DataFrame({'TS-' + self.txtTimeseriesName.text():ts})
df.hour_only = self.hour_only
frm_plt = frmPlotViewer(df,'time','Time Series ' + self.editing_item.name, self.windowIcon(), '', '')
frm_plt.setWindowModality(QtCore.Qt.ApplicationModal)
frm_plt.show()
pass

Expand Down

0 comments on commit 098f874

Please sign in to comment.