From 650156c6e47a267f8836fdc686800957f3ea5332 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 24 Feb 2017 09:43:36 +0100 Subject: [PATCH] Make NoteInputWidget note creation call higher priority than other sg calls. --- python/note_input_widget/widget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/note_input_widget/widget.py b/python/note_input_widget/widget.py index e77ce1e3..c5139671 100644 --- a/python/note_input_widget/widget.py +++ b/python/note_input_widget/widget.py @@ -284,7 +284,8 @@ def _submit(self): # ask the data retriever to execute an async callback if self.__sg_data_retriever: - self._processing_id = self.__sg_data_retriever.execute_method(self._async_submit, data) + self._processing_id = self.__sg_data_retriever.execute_method_with_priority( + self._async_submit, self.__sg_data_retriever._SG_CREATE_CALL_PRIORITY, data) if self._outgoing_tasks: self._outgoing_tasks.add(self._processing_id) # If the entity being acted on is a Note then we are creating a Reply, otherwise a "Note"