diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-30 20:17:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-30 20:17:30 +0300 |
commit | a5c2c9d611260f72501304911862f4fda6b95421 (patch) | |
tree | 0e2f6b25e943243d334902465c67a3ff7ce456fc | |
parent | 79d5c3eba7dc3852b129cb74a1a5fe5acac48011 (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.cpp | 2 |
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: |