if a file is given on the command line, then open only this file
This commit is contained in:
@@ -85,9 +85,7 @@ if __name__ == "__main__":
|
||||
window = PluginRegistry.execute_single("create_main_window")
|
||||
window.show()
|
||||
|
||||
PluginRegistry.execute("after_start")
|
||||
for file in cmd_args.files:
|
||||
PluginRegistry.execute("open_file", file)
|
||||
PluginRegistry.execute("after_start", cmd_args.files)
|
||||
|
||||
register_signal_handler()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user