Skip to content

Commit 7dc559e

Browse files
committed
MyDialogNewConnection: let SSH priv key dialog show hidden files
re #200
1 parent 867c0b2 commit 7dc559e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/gui/MyDialogNewConnection.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ void MyDialogNewConnection::OnPasswordPrivkeyRadioSelected(wxCommandEvent &event
9494
}
9595

9696
void MyDialogNewConnection::OnPrivkeyFileOpen(wxCommandEvent &event) {
97-
wxString filename = wxFileSelector("Choose an SSH private key file");
97+
wxString filename = wxFileSelector("Choose an SSH private key file",
98+
wxEmptyString,
99+
wxEmptyString,
100+
wxEmptyString,
101+
wxFileSelectorDefaultWildcardStr,
102+
wxFD_SHOW_HIDDEN);
98103

99104
if (!filename.empty()) {
100105
wxBusyCursor busy;

0 commit comments

Comments
 (0)