small fix, preventing access to drag and drop in open folders dialog
This commit is contained in:
parent
686ca4489c
commit
b0c80075fa
@ -1762,6 +1762,7 @@ class getExistingDirectories(QFileDialog):
|
|||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
super(getExistingDirectories, self).__init__(*args)
|
super(getExistingDirectories, self).__init__(*args)
|
||||||
self.setOption(self.DontUseNativeDialog, True)
|
self.setOption(self.DontUseNativeDialog, True)
|
||||||
|
self.setOption(self.ReadOnly, True)
|
||||||
self.setFileMode(self.Directory)
|
self.setFileMode(self.Directory)
|
||||||
self.setOption(self.ShowDirsOnly, True)
|
self.setOption(self.ShowDirsOnly, True)
|
||||||
self.findChildren(QListView)[0].setSelectionMode(QAbstractItemView.ExtendedSelection)
|
self.findChildren(QListView)[0].setSelectionMode(QAbstractItemView.ExtendedSelection)
|
||||||
|
@ -1 +1 @@
|
|||||||
6b7d-dirty
|
686c-dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user