Now the only way to access settings is though the settings button on the main dialog. When the main dialog is opened a query to nls api is made. If the api-key is wrong plugin crashes and there is no way to correct the api-key.
The above mentioned problem could be also solved by handling the crash more gracefully but imho separating the settings dialog would still be a good design.
Tested this and tool gives you a python error when the api-key is set wrong and does not open the plugin. Is the only way to correct this to create a new profile? Or where can the user add the correct api-key?
Now the only way to access settings is though the settings button on the main dialog. When the main dialog is opened a query to nls api is made. If the api-key is wrong plugin crashes and there is no way to correct the api-key. The above mentioned problem could be also solved by handling the crash more gracefully but imho separating the settings dialog would still be a good design.