MainWindow, Config: Minor change and bug fixe for windows config.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-03 17:28:32 +02:00
1 parent 3778818b58
commit 304f10c88d
4 files changed
+30 -22

No files matched your search

+3 -3
View File
@@ -41,6 +41,7 @@ no_model_action = [
model_action = [
"action_menu_close", "action_menu_edit", "action_menu_save",
"action_menu_save_as", "action_toolBar_close", "action_toolBar_save",
"action_menu_numerical_parameter",
]
other_model_action = [
@@ -117,6 +118,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
"action_menu_open": self.open_model,
"action_menu_save": self.save_study,
"action_menu_save_as": self.save_as_study,
"action_menu_numerical_parameter": self.open_solver_parameters,
"action_run_solver": self.run_solver,
## Help
"action_menu_about": self.open_about,
@@ -125,9 +127,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
"action_toolBar_open": self.open_model,
"action_toolBar_save": self.save_study,
"action_toolBar_close": self.close_model,
"action_toolBar_run_solver": self.open_dummy,
"action_toolBar_kill_solver": self.open_dummy,
"action_toolBar_listing": self.open_dummy,
"action_toolBar_run_solver": self.run_solver,
## Current actions
"action_toolBar_network": self.open_network,
"action_toolBar_geometry": self.open_geometry,