mirror of https://github.com/odrling/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();
|
CaptureMouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (columns[col]->OnMouseEvent(dlg, context, event)) {
|
if (dlg && columns[col]->OnMouseEvent(dlg, context, event)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue