mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
Make selection tool working again
svn path=/trunk/playground/graphics/okular/; revision=583789
This commit is contained in:
parent
c3c79fa216
commit
2f0946e831
1 changed files with 2 additions and 2 deletions
|
@ -1315,8 +1315,8 @@ if (d->document->handleEvent( e ) )
|
|||
return;
|
||||
}
|
||||
|
||||
bool leftButton = e->buttons() & Qt::LeftButton,
|
||||
rightButton = e->buttons() & Qt::RightButton;
|
||||
bool leftButton = (e->button() == Qt::LeftButton);
|
||||
bool rightButton = (e->button() == Qt::RightButton);
|
||||
switch ( d->mouseMode )
|
||||
{
|
||||
case MouseNormal:{
|
||||
|
|
Loading…
Reference in a new issue