Skip to content

Commit

Permalink
wxGUI/tplot: fix export csv file (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Dec 22, 2020
1 parent e577dc8 commit 6f3e7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/tplot/frame.py
Expand Up @@ -794,6 +794,7 @@ def drawV(self):

def OnRedraw(self, event=None):
"""Required redrawing."""
self.init()
self.csvpath = self.csvButton.GetValue()
self.header = self.headerCheck.IsChecked()
if (os.path.exists(self.csvpath) and not self.overwrite):
Expand All @@ -807,7 +808,6 @@ def OnRedraw(self, event=None):
message=_("Please change name of output CSV file or "))
return
dlg.Destroy()
self.init()
datasetsR = self.datasetSelectR.GetValue().strip()
datasetsV = self.datasetSelectV.GetValue().strip()

Expand Down

0 comments on commit 6f3e7f8

Please sign in to comment.