From ebc976b7e18a29c2351d8fcdbef9d47b4d024771 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Wed, 17 Jan 2024 07:12:08 +0100 Subject: [PATCH] Revert #145 partially, needs better fix --- src/fontra_rcjk/projectmanager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fontra_rcjk/projectmanager.py b/src/fontra_rcjk/projectmanager.py index c06bd83..23bc632 100644 --- a/src/fontra_rcjk/projectmanager.py +++ b/src/fontra_rcjk/projectmanager.py @@ -207,8 +207,7 @@ async def closeFontHandler(): logger.info(f"new FontHandler for '{path}'") fontHandler = FontHandler( backend, - readOnly=self.readOnly or userReadOnly, - dummyEditor=dummyEditor, + readOnly=self.readOnly, allConnectionsClosedCallback=closeFontHandler, ) await fontHandler.startTasks()