Skip to content

Commit

Permalink
Added confirmation when you add a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Dec 19, 2010
1 parent b841c57 commit 3024d89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dialogs/plugins/PluginsDlg.cpp
Expand Up @@ -355,6 +355,9 @@ void CPluginsDlg::OnAddPlugin()
m_pDoc->InternalLoadPlugin (strPath);
bChanged = true;

m_pDoc->Note (TFormat ("Added plugin %s",
(LPCTSTR) strPath));

} // end of try block

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

0 comments on commit 3024d89

Please sign in to comment.