qtutils: use a read-only directory chooser
commit9530b1a054947fd744ba409238288351f3f21c7d
authorDavid Aguilar <davvid@gmail.com>
Thu, 11 Aug 2022 03:59:13 +0000 (10 20:59 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 11 Aug 2022 03:59:13 +0000 (10 20:59 -0700)
tree6779bd297bc20b70ff00aa0e223bad643be263f6
parent7de7fa62f8337db4e8a203e4745d34b8f56e432f
qtutils: use a read-only directory chooser

Set the Directory and ReadOnly flags on the open-directory dialog. This
removes the "New Folder" action and makes the behavior match user
expections when launching an "Open" action.

Closes #1168
Reported-by: Scott Field <safield14@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qtutils.py