VirtualBox

Changeset 88516 in vbox


Ignore:
Timestamp:
Apr 15, 2021 7:50:51 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. No image zoom when there is selected text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp

    r88499 r88516  
    955955    if (!cursor.charFormat().isImageFormat())
    956956        return;
     957    /* Dont zoom into image if mouse button released after a mouse drag: */
     958    if (textCursor().hasSelection())
     959        return;
    957960
    958961    QTextImageFormat imageFormat = cursor.charFormat().toImageFormat();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette