mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Fixed problem when changing the URL, also changed the SettingsForm to use Greenshot controls for binding language & settings.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1772 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
84947c8b6e
commit
6dfc75a492
4 changed files with 29 additions and 44 deletions
|
@ -119,7 +119,15 @@ namespace GreenshotJiraPlugin {
|
|||
/// Implementation of the IPlugin.Configure
|
||||
/// </summary>
|
||||
public virtual void Configure() {
|
||||
string url = config.Url;
|
||||
config.ShowConfigDialog();
|
||||
// check for re-login
|
||||
if (jiraConnector.isLoggedIn && !string.IsNullOrEmpty(url)) {
|
||||
if (!url.Equals(config.Url)) {
|
||||
jiraConnector.logout();
|
||||
jiraConnector.login();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue