From 45ee84f9ac433e7a06e0615acfed9342cf646b70 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 20 Apr 2020 11:26:47 +0200 Subject: [PATCH] Hide GTC response while typing Signed-off-by: Simon Rozman --- lib/GTC_UI/res/wxGTC_UI.cpp | 2 +- lib/GTC_UI/res/wxGTC_UI.fbp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/GTC_UI/res/wxGTC_UI.cpp b/lib/GTC_UI/res/wxGTC_UI.cpp index b7d8bc7..af97eee 100644 --- a/lib/GTC_UI/res/wxGTC_UI.cpp +++ b/lib/GTC_UI/res/wxGTC_UI.cpp @@ -39,7 +39,7 @@ wxGTCResponsePanelBase::wxGTCResponsePanelBase( wxWindow* parent, wxWindowID id, sb_response_tbl->Add( m_challenge, 0, wxALIGN_CENTER_VERTICAL, FromDIP(5) ); - m_response = new wxTextCtrl( m_sb_response->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_response = new wxTextCtrl( m_sb_response->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); m_response->SetToolTip( _("Enter your response here") ); sb_response_tbl->Add( m_response, 2, wxEXPAND|wxALIGN_CENTER_VERTICAL, FromDIP(5) ); diff --git a/lib/GTC_UI/res/wxGTC_UI.fbp b/lib/GTC_UI/res/wxGTC_UI.fbp index a9e41d4..c8bd4d7 100644 --- a/lib/GTC_UI/res/wxGTC_UI.fbp +++ b/lib/GTC_UI/res/wxGTC_UI.fbp @@ -321,7 +321,7 @@ Resizable 1 - + wxTE_PASSWORD 0 Enter your response here