mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix ChartBar Remove Chart SEGV
.. context menu action and processing in event loop deletes the widgets whilst events are being processed for it. So in event processing we now return immediately after triggering context menus.
This commit is contained in:
@@ -534,6 +534,7 @@ ChartBarItem::event(QEvent *e)
|
||||
// menu activated
|
||||
state = Idle;
|
||||
emit contextMenu();
|
||||
return true; // no more processing of this event please - lots of stuff happens off that menu !
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user