From 744b0bd4a8d50a24c1f39b4561049076934ff5a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2020 17:53:02 +0300 Subject: =?UTF-8?q?fixes=20#2516=20(=D0=A1=D0=B6=D0=B0=D1=82=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B1=D0=B0=D0=B7=D1=8B=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=B4=D0=B6=D0=B5=D1=80=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=84=D0=B8=D0=BB=D0=B5=D0=B9=20=D0=BD=D0=B5=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B4=D0=B0=D1=91=D1=82=20=D0=BD=D0=B8=D0=BA=D0=B0=D0=BA?= =?UTF-8?q?=D0=B8=D1=85=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mir_app/src/profilemanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/profilemanager.cpp b/src/mir_app/src/profilemanager.cpp index 37145b16e6..fc4912cf7b 100644 --- a/src/mir_app/src/profilemanager.cpp +++ b/src/mir_app/src/profilemanager.cpp @@ -326,7 +326,7 @@ class CChooseProfileDlg : public CDlgBase void DeleteProfile(const LVITEM &item) { CMStringW wszMessage(FORMAT, TranslateT("Are you sure you want to remove profile \"%s\"?"), item.pszText); - if (IDYES != MessageBox(nullptr, wszMessage, L"Miranda NG", MB_YESNO | MB_TASKMODAL | MB_ICONWARNING)) + if (IDYES != MessageBoxW(nullptr, wszMessage, L"Miranda NG", MB_YESNO | MB_TASKMODAL | MB_ICONWARNING)) return; wszMessage.Format(L"%s\\%s%c", m_pd->ptszProfileDir, item.pszText, 0); @@ -357,6 +357,8 @@ class CChooseProfileDlg : public CDlgBase if (auto *db = dblink->Load(wszFullName, false)) { db->Compact(); delete db; + + MessageBoxW(nullptr, TranslateT("Database compacted successfully"), L"Miranda NG", MB_OK | MB_ICONINFORMATION); } } -- cgit v1.2.3