From cc56611783986bbbd5589a3688008e842b3af6fd Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Tue, 19 Mar 2019 11:36:30 -0400 Subject: [PATCH] add comment --- gui/copySelectDialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/copySelectDialog.py b/gui/copySelectDialog.py index 853fd3566..985b98d01 100644 --- a/gui/copySelectDialog.py +++ b/gui/copySelectDialog.py @@ -115,6 +115,8 @@ class CopySelectDialog(wx.Dialog): self.Center() def Validate(self): + # Since this dialog is shown through aa ShowModal(), we hook into the Validate function to veto the closing of the dialog until we're ready. + # This always returns False, and when we're ready will EndModal() selected = self.GetSelected() options = self.GetOptions()