Merge the two methods in the shared class to save editor content

This commit is contained in:
Veronica Berglyd Olsen
2024-06-16 15:23:22 +02:00
parent e9e7fae40e
commit 7c33c949cb
5 changed files with 16 additions and 23 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ class GuiProjectSearch(QWidget):
if not self._blocked:
QApplication.setOverrideCursor(QCursor(Qt.CursorShape.WaitCursor))
start = time()
SHARED.saveDocument()
SHARED.saveEditor()
self._blocked = True
self._map = {}
self.searchResult.clear()