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