Skip to content

Commit e151d3f

Browse files
author
Stephanie Reeder
committed
change save message to 'append' instead of 'overwrite'
1 parent e60c9c4 commit e151d3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

odmtools/gui/wizSave.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,11 @@ def on_wizard_finished(self, event):
328328
closeSuccessful = True
329329

330330
elif rbSaveAsExisting:
331-
cont = wx.MessageBox("You are about to overwrite an existing series,\nthis action cannot be undone.\nWould you like to continue?\n",
331+
message = "You are about to overwrite an existing series,\nthis action cannot be undone.\nWould you like to continue?\n"
332+
333+
if self.pgExisting.pnlExisting.rbAppend:
334+
message = "You are about to append to an existing series,\nthis action cannot be undone.\nWould you like to continue?\n"
335+
cont = wx.MessageBox(message,
332336
'Are you sure?',
333337
wx.YES_NO | wx.ICON_QUESTION)
334338
if cont == 2:

0 commit comments

Comments
 (0)