Skip to content

Commit

Permalink
[NF] Adding signal to emit when the data is exported
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteMadery14 committed May 20, 2022
1 parent f6d7534 commit a5fe9d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SciDataTool/GUI/WPlotManager/WPlotManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class WPlotManager(Ui_WPlotManager, QWidget):
updatePlot = Signal()
updatePlotForced = Signal()
gifDisplayed = Signal()
dataExported = Signal()

def __init__(self, parent=None):
"""Initialize the widget by linking buttons to methods
Expand Down Expand Up @@ -363,6 +364,8 @@ def export(self, save_file_path=False):
err_msg,
)

self.dataExported.emit()

def get_plot_info(self):
"""Method that gather all the information necessary to plot the new graph.
Parameters
Expand Down

0 comments on commit a5fe9d7

Please sign in to comment.