Update lollms_file_system.py

This commit is contained in:
Saifeddine ALOUI 2024-12-16 10:19:16 +01:00 committed by GitHub
parent e030d32675
commit f27b2ea24f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ def select_rag_database(client) -> Optional[Dict[str, Path]]:
# Open the folder selection dialog
dialog = QFileDialog()
dialog.setOption(QFileDialog.DontUseNativeDialog, True)
# dialog.setOption(QFileDialog.DontUseNativeDialog, True)
dialog.setWindowFlag(Qt.WindowStaysOnTopHint, True)
dialog.setWindowModality(Qt.ApplicationModal)
dialog.raise_()