Fix config not defined in ipcinterface
This commit is contained in:
parent
84bc2e78bc
commit
c37cfdfa2f
@ -59,6 +59,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class IPCProtocolServer(Protocol):
|
class IPCProtocolServer(Protocol):
|
||||||
def dataReceived(self, data):
|
def dataReceived(self, data):
|
||||||
|
config = ConfigManager("gtkui.conf")
|
||||||
data = rencode.loads(data)
|
data = rencode.loads(data)
|
||||||
if not data or config["focus_main_window_on_add"]:
|
if not data or config["focus_main_window_on_add"]:
|
||||||
component.get("MainWindow").present()
|
component.get("MainWindow").present()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user