reopen the files that were open the last time

This commit is contained in:
2022-02-06 16:47:14 +01:00
parent 283bdae0fd
commit c470ca4ed1
6 changed files with 36 additions and 8 deletions

14
main.py
View File

@@ -57,12 +57,14 @@ if __name__ == "__main__":
window = PluginRegistry.execute_single("create_main_window")
window.show()
PluginRegistry.execute("open_file",
"/home/andi/ws/performanceDb/data/production/lt_axc_21.4_133.02_maxInstance/"
+ "lt_axc_21.4_133.02_maxInstance/app/axcng-service_i-0a69bd43d3624a5bc_172_28_"
+ "60_222_VADPERFO01AA001_2021-09-21_091717/service/service.log")
PluginRegistry.execute("open_file",
"testbed/example.log")
PluginRegistry.execute("after_start")
# PluginRegistry.execute("open_file",
# "/home/andi/ws/performanceDb/data/production/lt_axc_21.4_133.02_maxInstance/"
# + "lt_axc_21.4_133.02_maxInstance/app/axcng-service_i-0a69bd43d3624a5bc_172_28_"
# + "60_222_VADPERFO01AA001_2021-09-21_091717/service/service.log")
# PluginRegistry.execute("open_file",
# "testbed/example.log")
signal.signal(signal.SIGINT, stop_signal)
signal.signal(signal.SIGTERM, stop_signal)