forked from mia/Aegisub
folding: Fix crash when clicking fold column header
This commit is contained in:
parent
38efde92e3
commit
abe2a81c99
|
@ -499,7 +499,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
|||
CaptureMouse();
|
||||
}
|
||||
|
||||
if (columns[col]->OnMouseEvent(dlg, context, event)) {
|
||||
if (dlg && columns[col]->OnMouseEvent(dlg, context, event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue