Fix for not-working double click in spell check - thx lambdacore12 :)

Fix  #7879
This commit is contained in:
Nikolaj Olsson 2024-01-31 17:08:35 +01:00
parent 235ff1ef5a
commit ae93b3204f

View File

@ -338,6 +338,25 @@ namespace Nikse.SubtitleEdit.Controls
} }
} }
// ReSharper disable once InconsistentNaming
public new event MouseEventHandler MouseDoubleClick
{
add
{
if (_listBox != null)
{
_listBox.MouseDoubleClick += value;
}
}
remove
{
if (_listBox != null)
{
_listBox.MouseDoubleClick -= value;
}
}
}
public void BeginUpdate() public void BeginUpdate()
{ {
_listBox?.BeginUpdate(); _listBox?.BeginUpdate();