Skip to content

Commit

Permalink
Fix the issue where the Apache Tika plugin becomes enabled again when…
Browse files Browse the repository at this point in the history
… reopening the Plugins window, despite having unchecked the Apache Tika plugin in the Plugins window
  • Loading branch information
sdottaka committed Aug 9, 2023
1 parent 57cbbaf commit ee01676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/PluginsListDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void PluginsListDlg::OnBnClickedOk()

for (int i = 0; i < m_list.GetItemCount(); ++i)
{
PluginInfo * plugin = CAllThreadsScripts::GetActiveSet()->GetPluginByName(nullptr, String(m_list.GetItemText(i, 0)));
PluginInfo * plugin = reinterpret_cast<PluginInfo *>(m_list.GetItemData(i));
if (plugin)
plugin->m_disabled = !m_list.GetCheck(i);
}
Expand Down

0 comments on commit ee01676

Please sign in to comment.