author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Sun, 08 Dec 2024 13:59:36 +0100 | |
changeset 4064 | f273ee835411 |
parent 4063 | 6668dcbca915 |
child 4065 | d876242447da |
PLCOpenEditor.py | file | annotate | diff | comparison | revisions |
--- a/PLCOpenEditor.py Sun Dec 08 11:41:31 2024 +0100 +++ b/PLCOpenEditor.py Sun Dec 08 13:59:36 2024 +0100 @@ -273,7 +273,7 @@ result = None - dialog = wx.FileDialog(self, _("Choose a file"), directory, "", _("PLCOpen files (*.xml)|*.xml|All files|*.*"), wx.OPEN) + dialog = wx.FileDialog(self, _("Choose a file"), directory, "", _("PLCOpen files (*.xml)|*.xml|All files|*.*"), wx.FD_OPEN) if dialog.ShowModal() == wx.ID_OK: filepath = dialog.GetPath() if os.path.isfile(filepath):