mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[TabPreviews] Don't show tab preview when moving tab
This commit is contained in:
parent
d52b0e2cea
commit
1b3c9e38ea
@ -494,7 +494,7 @@ void TabBar::showTabPreview(bool delayed)
|
|||||||
{
|
{
|
||||||
if (delayed) {
|
if (delayed) {
|
||||||
int index = tabAt(mapFromGlobal(QCursor::pos()));
|
int index = tabAt(mapFromGlobal(QCursor::pos()));
|
||||||
if (index == -1) {
|
if (index == -1 || QApplication::mouseButtons()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user