mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Fix browser search newlines and update CONTRIBUTORS
This commit is contained in:
parent
b0665a8ef1
commit
e6cf5b389f
2 changed files with 2 additions and 1 deletions
|
|
@ -244,6 +244,7 @@ memchr <memchr@proton.me>
|
|||
Max Romanowski <maxr777@proton.me>
|
||||
Aldlss <ayaldlss@gmail.com>
|
||||
Hanna Nilsén <hanni614@student.liu.se>
|
||||
Elias Johansson Lara <elias.johanssonlara@gmail.com>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
|||
|
|
@ -521,7 +521,7 @@ class Browser(QMainWindow):
|
|||
self.search()
|
||||
|
||||
def current_search(self) -> str:
|
||||
return self._line_edit().text()
|
||||
return self._line_edit().text().replace("\n", " ")
|
||||
|
||||
def search(self) -> None:
|
||||
"""Search triggered programmatically. Caller must have saved note first."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue