Ticket #12172: dc07412594fee6154e7d899d2f934badee844814.patch

File dc07412594fee6154e7d899d2f934badee844814.patch, 1.0 KB (added by janisozaur, 18 months ago)
  • src/interface/sitemanager_controls.cpp

    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&  
    197197    });
    198198
    199199    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|*"));
    201201        wxFileDialog dlg(&parent_, _("Choose a key file"), wxString(), wxString(), wildcards, wxFD_OPEN|wxFD_FILE_MUST_EXIST);
    202202
    203203        if (dlg.ShowModal() == wxID_OK) {