mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2025-12-22 00:19:40 +01:00
init http api only if enabled in settings
This commit is contained in:
@@ -1326,7 +1326,7 @@ class MainAppWindow:
|
|||||||
self._http_api = None
|
self._http_api = None
|
||||||
|
|
||||||
prp = self._options.get(self._profile)
|
prp = self._options.get(self._profile)
|
||||||
if prp is Profile.NEUTRINO_MP:
|
if prp is Profile.NEUTRINO_MP or not prp.get("http_api_support", False):
|
||||||
self.update_info_boxes_visible(False)
|
self.update_info_boxes_visible(False)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user