danielepantaleone/eddy

toolbar actions are unusable when the program goes out of focus

Closed this issue · 1 comments

It seems that when the program goes out of focus, the signals of the actions of the toolbar gets detached from their slots and never re-attached. This results in some actions being unusable. Affected actions are the ones operating on the DiagramScene:

  • Cut
  • Copy
  • Paste
  • Delete
  • ...

It seems that the problem is located in the Overviewwidget which disconnects all the slots from the DiagramScene.selectionChanged signal. Changing the code to disconnect only the slots provided by the widget should fix the issue.