From dc07412594fee6154e7d899d2f934badee844814 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Janiszewski?=
<janisozaur@users.noreply.github.com>
Date: Sat, 9 May 2020 23:51:53 +0200
Subject: [PATCH] Actually display all files when selecting a key
---
src/interface/sitemanager_controls.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/interface/sitemanager_controls.cpp b/src/interface/sitemanager_controls.cpp
index ab37bf144..d0064ff0f 100644
a
|
b
|
GeneralSiteControls::GeneralSiteControls(wxWindow & parent, DialogLayout const&
|
197 | 197 | }); |
198 | 198 | |
199 | 199 | keyfileBrowse->Bind(wxEVT_BUTTON, [this](wxEvent const&) { |
200 | | wxString wildcards(_T("PPK files|*.ppk|PEM files|*.pem|All files|*.*")); |
| 200 | wxString wildcards(_T("PPK files|*.ppk|PEM files|*.pem|All files|*")); |
201 | 201 | wxFileDialog dlg(&parent_, _("Choose a key file"), wxString(), wxString(), wildcards, wxFD_OPEN|wxFD_FILE_MUST_EXIST); |
202 | 202 | |
203 | 203 | if (dlg.ShowModal() == wxID_OK) { |