Double clicking on a tab will make it float
Also really required for Wayland, where we don't another way to float a single tab, as the float button affects all of them.
This commit is contained in:
@@ -111,6 +111,11 @@ void TabBarWidget::mouseMoveEvent(QMouseEvent *e)
|
||||
}
|
||||
}
|
||||
|
||||
void TabBarWidget::mouseDoubleClickEvent(QMouseEvent *e)
|
||||
{
|
||||
TabBar::onMouseDoubleClick(e->pos());
|
||||
}
|
||||
|
||||
bool TabBarWidget::dragCanStart(QPoint pressPos, QPoint pos) const
|
||||
{
|
||||
// Here we allow the user to re-order tabs instead of dragging them off.
|
||||
|
||||
Reference in New Issue
Block a user