Added DnD processing, args loading
This commit is contained in:
@@ -27,17 +27,7 @@ class Controller(SignalsMixins, ControllerData):
|
||||
if args.no_plugins == "false":
|
||||
self.plugins.launch_plugins()
|
||||
|
||||
for arg in unknownargs + [args.new_tab,]:
|
||||
if os.path.isfile(arg):
|
||||
message = f"FILE|{arg}"
|
||||
event_system.emit("post_file_to_ipc", message)
|
||||
|
||||
if os.path.isdir(arg):
|
||||
message = f"DIR|{arg}"
|
||||
event_system.emit("post_file_to_ipc", message)
|
||||
|
||||
logger.info(f"Made it past {self.__class__} loading...")
|
||||
|
||||
event_system.emit("do_filter_open", (unknownargs + [args.new_tab],))
|
||||
|
||||
def _setup_styling(self):
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user