visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
444 stars 117 forks source link

Fix interaction mode for non-read-only Expressions editor. #19916

Closed biagas closed 1 month ago

biagas commented 1 month ago

Description

Resolves #19866

Changed the non-read-only TextInteractionFlags to Qt::TextEditInteraction. Qt docs state this flag is the default for a text editor and is the same as:

TextSelectableByMouse | TextSelectableByKeyboard | TextEditable

Type of change

How Has This Been Tested?

I tried using arrow keys to move around, and mouse to select text with success.

Checklist: