File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -307,8 +307,6 @@ def on_wizard_finished(self, event):
307
307
original = self .pgExisting .pnlExisting .rbOriginal .GetValue ()
308
308
new = self .pgExisting .pnlExisting .rbNew .GetValue ()
309
309
310
-
311
-
312
310
if QCL .id == 0 and not rbSaveAsNew :
313
311
"""
314
312
If we're looking at a QCL with Control level 0 and the following cases:
@@ -328,10 +326,12 @@ def on_wizard_finished(self, event):
328
326
closeSuccessful = True
329
327
330
328
elif rbSaveAsExisting :
331
- message = "You are about to overwrite an existing series, \n this action cannot be undone. \n Would you like to continue? \n "
329
+ keyword = "overwrite"
332
330
333
331
if self .pgExisting .pnlExisting .rbAppend :
334
- message = "You are about to append to an existing series,\n this action cannot be undone.\n Would you like to continue?\n "
332
+ keyword = "append to"
333
+
334
+ message = "You are about to " + keyword + " an existing series,\n this action cannot be undone.\n Would you like to continue?\n "
335
335
cont = wx .MessageBox (message ,
336
336
'Are you sure?' ,
337
337
wx .YES_NO | wx .ICON_QUESTION )
You can’t perform that action at this time.
0 commit comments