summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-30 20:17:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-30 20:17:30 +0300
commita5c2c9d611260f72501304911862f4fda6b95421 (patch)
tree0e2f6b25e943243d334902465c67a3ff7ce456fc
parent79d5c3eba7dc3852b129cb74a1a5fe5acac48011 (diff)
fixes #2812 (Profile manager: if a profile was opened, you could see it was being used by a red X mark icon. But it doesn't seem to work with SQLite)r
-rw-r--r--src/mir_app/src/profilemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/profilemanager.cpp b/src/mir_app/src/profilemanager.cpp
index 628bc8856d..b77880e4cf 100644
--- a/src/mir_app/src/profilemanager.cpp
+++ b/src/mir_app/src/profilemanager.cpp
@@ -285,7 +285,7 @@ class CChooseProfileDlg : public CDlgBase
DATABASELINK *dblink;
switch (touchDatabase(tszFullPath, &dblink)) {
case ERROR_SUCCESS:
- item.iImage = 0;
+ item.iImage = (bFileLocked) ? 1 : 0;
break;
case EGROKPRF_OBSOLETE: