Skip to content

Commit 80057c3

Browse files
Merge branch 'albayan_beta' of https://github.com/tecwindow/albayan into albayan_beta
2 parents 256a539 + fd82128 commit 80057c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/dialogs/find.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def initUI(self):
4646
self.search_label = QLabel('اكتب ما تريد البحث عنه:')
4747
self.search_box = QLineEdit(self)
4848
self.search_box.setText(self.search_phrase)
49-
regex = QRegularExpression("[\u0621-\u0652\u0670\u0671\s]+") # Arabic letters, hamzas, diacritics, and spaces.
49+
regex = QRegularExpression("[\u0621-\u0652\u0670\u0671[:space:]]+") # Arabic letters, hamzas, diacritics, and spaces.
5050
validator = QRegularExpressionValidator(regex)
5151
self.search_box.setValidator(validator)
5252
self.search_box.textChanged.connect(self.OnEdit)

0 commit comments

Comments
 (0)