Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640ed11
)
Show alternative message if no SSL result could be found instead of crashing XAB.
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Mon, 16 May 2016 20:40:17 +0000
(21:40 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Mon, 16 May 2016 20:40:17 +0000
(21:40 +0100)
source/frmMain.cpp
patch
|
blob
|
history
diff --git
a/source/frmMain.cpp
b/source/frmMain.cpp
index
aff4528
..
6625432
100644
(file)
--- a/
source/frmMain.cpp
+++ b/
source/frmMain.cpp
@@
-2806,6
+2806,16
@@
void frmMain::SetupSSLStatus( int AccountID ){
std::map<int,int>::iterator SSLResultIter = AccountSSLResult.find(AccountID);
+ // Check if a result value has been set.
+
+ if (SSLResultIter == AccountSSLResult.end()){
+
+ imgSSLStatus->SetBitmap(*imgSSLWarning);
+ SSLToolTip->SetTip(wxT("Unable to determine SSL information for the '") + prefaccounts.GetAccountName(AccountID) + wxT("' account."));
+ return;
+
+ }
+
if (SSLResultIter->second == 1){
imgSSLStatus->SetBitmap(*imgSSLWarning);
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy