diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-01 21:55:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-01 21:55:46 +0300 |
commit | 3f58bf0b059e58cd1aa9d4cc1ab50f6c01d21654 (patch) | |
tree | 8c77fc8ee709ffcc98e2d777ac2920fc02bf8af8 /src/mir_app | |
parent | 800efedcdc265a4d96e4d695723d9ad609b9ba99 (diff) |
fixes #1530 (fake dummy account types shall not be available for addition)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/proto_opts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp index 875ff4882f..a6bf6a8ca7 100644 --- a/src/mir_app/src/proto_opts.cpp +++ b/src/mir_app/src/proto_opts.cpp @@ -820,7 +820,7 @@ bool CAccountFormDlg::OnInitDialog() {
int cnt = 0;
for (auto &it : g_arProtos)
- if (it->type == PROTOTYPE_PROTOWITHACCS) {
+ if (it->type == PROTOTYPE_PROTOWITHACCS && it->hInst != nullptr) {
m_prototype.AddStringA(it->szName);
++cnt;
}
|