Skip to content

Commit 3024d89

Browse files
committed
Added confirmation when you add a plugin
1 parent b841c57 commit 3024d89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dialogs/plugins/PluginsDlg.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ void CPluginsDlg::OnAddPlugin()
355355
m_pDoc->InternalLoadPlugin (strPath);
356356
bChanged = true;
357357

358+
m_pDoc->Note (TFormat ("Added plugin %s",
359+
(LPCTSTR) strPath));
360+
358361
} // end of try block
359362

360363
catch (CFileException * e)
@@ -420,7 +423,7 @@ int nItem,
420423
m_pDoc->m_PluginList.erase (pit); // remove from list
421424
delete p; // delete the plugin
422425
bChanged = true;
423-
m_pDoc->Note (TFormat ("Deleted plugin %s (%s)",
426+
m_pDoc->Note (TFormat ("Removed plugin %s (%s)",
424427
(LPCTSTR) strPluginName, (LPCTSTR) strPluginID));
425428
}
426429
else

0 commit comments

Comments
 (0)