GreenDelta / olca-app

Source code of openLCA
openlca.org
Mozilla Public License 2.0
185 stars 41 forks source link

Fix two issues. #256

Closed francoislerall closed 1 year ago

francoislerall commented 1 year ago
  1. sub-actions were disabled when opening the first model graph of the session.
  2. sub-actions in the toolbar were invisible after closing every Product System editors and opening a new one. To solve the first issue, the focus is set to the Navigator and back to the model graph editor. This operation somehow updates the actions and makes them enabled. The second issue is solved by locking and unlocking the toolbar (or the inverse as it depends on the current status of the toolbar). The first execution of the action makes the action visible. The second execution reset the toolbar to its initial state.