mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Added fail-fast for Confluence & Jira, this prevents slow-down in the Destination-Picker when moving over the Jira or Confluence destination and no login was made.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1794 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
63cfb8b3ee
commit
d73d80fe1a
4 changed files with 19 additions and 17 deletions
|
@ -92,7 +92,7 @@ namespace GreenshotConfluencePlugin {
|
|||
}
|
||||
|
||||
public override IEnumerable<IDestination> DynamicDestinations() {
|
||||
if (!ConfluencePlugin.ConfluenceConnectorNoLogin.isLoggedIn) {
|
||||
if (ConfluencePlugin.ConfluenceConnectorNoLogin == null || !ConfluencePlugin.ConfluenceConnectorNoLogin.isLoggedIn) {
|
||||
yield break;
|
||||
}
|
||||
List<Confluence.Page> currentPages = ConfluenceUtils.GetCurrentPages();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue