mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Wrap error message instead of expanding screen to show message
This commit is contained in:
parent
2646fa825b
commit
b74ca1def6
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ class ConfigureScreen(QtWidgets.QDialog):
|
|||
def add_error_message(self, message: str, parent_layout: QtWidgets.QLayout):
|
||||
"Add Error Message to Configure Screen"
|
||||
error_message = QtWidgets.QLabel()
|
||||
error_message.setWordWrap(True)
|
||||
error_message.setText(message)
|
||||
error_message.setStyleSheet("color: red")
|
||||
parent_layout.addWidget(error_message)
|
||||
|
|
Loading…
Reference in a new issue