summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/stduserinfo/src/userinfo.cpp3
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)