diff options
author | George Hazan <ghazan@miranda.im> | 2019-10-28 21:53:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-10-28 21:53:01 +0300 |
commit | 3726509beeceda60e3e34d2d41db1f05c5dc46a7 (patch) | |
tree | 3c0ae15681c6b37f48dd981a95e2112bc06f29fb /src/core/stduserinfo | |
parent | 9f211a10313ea6f508c5521bd2a0880e062b5f08 (diff) |
crash fix
Diffstat (limited to 'src/core/stduserinfo')
-rw-r--r-- | src/core/stduserinfo/src/userinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp index 6ef8c4e5f6..30068577b1 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -122,6 +122,9 @@ class CUserInfoDlg : public CDlgBase m_currentPage = i;
p.hItem = m_tree.InsertItem(&tvis);
}
+
+ if (m_currentPage == -1)
+ m_currentPage = 0;
}
void CreateDetailsTabs(DetailsPageData *ppg)
|