See issue #102.
By default when a character is added to the character model, the
importance value is set to "0" (Minor). However when the new
character is selected, the importance slider remains set to the value
of the previously selected character.
Steps to Reproduce:
1. Click add character (plus sign) button.
2. Select this "New character".
3. Select "Basic infos" tab and change Name to "Bob".
4. Move Importance slider all the way to the right (Main).
5. Click add character (plus sign) button.
6. Select this "New character".
Note that the "New character" is shown in the character list pane
under "Minor", but the Importance slider is still all the way to
the right (Main).
This enhancement ensures that the corresponding character UI
importance slider is also set to the proper character importance.
See issue #96.
This change creates a new class disconnectAll() to ensure that all
connections are disconnected for a specific signal and slot. Now when
a project is closed, the UI signals are disconnected. As before,
these signals and slots are connected when a project is opened.
Because Manuskript permits working on only one project at a time, the
menu items for File Open and Recents are disabled after a project is
loaded. These menu items are enabled when a project is closed.
Prior to this commit, subsequent open project selections would
complain with the following message:
TypeError: connection is not unique