Skip to content

Commit dc87919

Browse files
author
stephanie
committed
fix call to save dialog
1 parent 66304c7 commit dc87919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

odmtools/gui/frmODMTools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,11 @@ def onClose(self, event):
501501

502502
#check to see if a script has been created
503503
if self.scriptcreate:
504-
msg = wx.MessageDialog(None, 'Would you like to save your editing script',
504+
msg = wx.MessageDialog(None, 'Would you like to save your editing script?',
505505
'Save Script', wx.YES_NO | wx.ICON_QUESTION)
506506
value = msg.ShowModal()
507507
if value == wx.ID_YES:
508-
pnlScript.OnSaveAs(event)
508+
self.txtPythonScript.OnSaveAs(event)
509509

510510
# deinitialize the frame manager
511511
self.pnlPlot.Close()

0 commit comments

Comments
 (0)