Ok, i got the problem. MousePress event does not set the focus on ChartItem or it is setting focus on some sub items, i dont know. Setting focus manually after mouse press event solves the issue.
Qt Code:
{ qDebug("mousePressEvent"); QChart::mousePressEvent(me); setFocus(); }To copy to clipboard, switch view to plain text mode
Bookmarks