Fixed ipc new tab
This commit is contained in:
parent
1fc1609b0a
commit
22c9fa301b
|
@ -13,17 +13,17 @@ class IPCSignalsMixin:
|
||||||
print(message)
|
print(message)
|
||||||
|
|
||||||
def handle_file_from_ipc(self, path):
|
def handle_file_from_ipc(self, path):
|
||||||
wid, tid = self.fm_controller.get_active_wid_and_tid()
|
wid, tid = self.fm_controller.get_active_wid_and_tid()
|
||||||
notebook = self.builder.get_object(f"window_{wid}")
|
notebook = self.builder.get_object(f"window_{wid}")
|
||||||
if notebook.is_visible():
|
if notebook.is_visible():
|
||||||
self.create_tab(wid, path)
|
self.create_tab(wid, None, path)
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self.is_pane4_hidden:
|
if not self.is_pane4_hidden:
|
||||||
self.create_tab(4, path)
|
self.create_tab(4, None, path)
|
||||||
elif not self.is_pane3_hidden:
|
elif not self.is_pane3_hidden:
|
||||||
self.create_tab(3, path)
|
self.create_tab(3, None, path)
|
||||||
elif not self.is_pane2_hidden:
|
elif not self.is_pane2_hidden:
|
||||||
self.create_tab(2, path)
|
self.create_tab(2, None, path)
|
||||||
elif not self.is_pane1_hidden:
|
elif not self.is_pane1_hidden:
|
||||||
self.create_tab(1, path)
|
self.create_tab(1, None, path)
|
||||||
|
|
Loading…
Reference in New Issue