Elad Weiss
Elad Weiss

Reputation: 4002

PyQt - QFileDialog selects with single click

I have this very strange problem. I use QFileDialog to select files, but the selection is done with a single click, instead of double click as in everywhere else. Maybe something specific for the look-and-feel, or something in the configuration.

My form (single click):

enter image description here

Eclipse form (double click):

enter image description here

Any idea how to set it to double-click? Thanks.

Upvotes: 0

Views: 452

Answers (1)

user0
user0

Reputation: 127

This is controlled by the QT5 configuration on your system. Run qt5ct (on a Unix-like system, or the equivalent elsewhere) and uncheck 'Activate on single click'.

QT5 configuration

Upvotes: 1

Related Questions