Commit d43bfa6f authored by Jan Paul Batrina's avatar Jan Paul Batrina
Browse files

Only create new tabs for double clicks with the primary button

BUG: 432632
parent 2156666e
......@@ -131,7 +131,7 @@ void KateTabBar::mouseDoubleClickEvent(QMouseEvent *event)
{
event->accept();
if (m_doubleClickNewDocument) {
if (m_doubleClickNewDocument && event->button() == Qt::LeftButton) {
emit newTabRequested();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment