mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-07 05:08:43 +00:00
fix
This commit is contained in:
parent
ef1286273b
commit
eb56dc77c9
@ -114,8 +114,7 @@ def select_rag_database(client) -> Optional[Dict[str, Path]]:
|
|||||||
dialog.activateWindow()
|
dialog.activateWindow()
|
||||||
|
|
||||||
# Add a custom filter to show network folders
|
# Add a custom filter to show network folders
|
||||||
dialog.setNameFilter("All Files (*)")
|
dialog.setFileMode(QFileDialog.Directory)
|
||||||
dialog.setViewMode(QFileDialog.List)
|
|
||||||
|
|
||||||
# Show the dialog modally
|
# Show the dialog modally
|
||||||
if dialog.exec_() == QFileDialog.Accepted:
|
if dialog.exec_() == QFileDialog.Accepted:
|
||||||
|
Loading…
Reference in New Issue
Block a user