Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2014-09-22 14:43:51 +0000
committerMarvin Mueller2014-09-22 15:04:14 +0000
commit6d9342f4dfccc5cbf8ba26ba9b495031b20f02db (patch)
tree9c9f820d63575ca3f836919b0cd00f1379143328 /org.eclipse.jubula.client.wiki.ui
parentf6456c70a359914f60da1178daa11761743aa0a2 (diff)
downloadorg.eclipse.jubula.core-6d9342f4dfccc5cbf8ba26ba9b495031b20f02db.tar.gz
org.eclipse.jubula.core-6d9342f4dfccc5cbf8ba26ba9b495031b20f02db.tar.xz
org.eclipse.jubula.core-6d9342f4dfccc5cbf8ba26ba9b495031b20f02db.zip
Sprint task - Adding micro version and version qualifier to project version
Diffstat (limited to 'org.eclipse.jubula.client.wiki.ui')
-rw-r--r--org.eclipse.jubula.client.wiki.ui/src/org/eclipse/jubula/client/wiki/ui/views/DescriptionView.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jubula.client.wiki.ui/src/org/eclipse/jubula/client/wiki/ui/views/DescriptionView.java b/org.eclipse.jubula.client.wiki.ui/src/org/eclipse/jubula/client/wiki/ui/views/DescriptionView.java
index 489b5f205..0ef498cf1 100644
--- a/org.eclipse.jubula.client.wiki.ui/src/org/eclipse/jubula/client/wiki/ui/views/DescriptionView.java
+++ b/org.eclipse.jubula.client.wiki.ui/src/org/eclipse/jubula/client/wiki/ui/views/DescriptionView.java
@@ -152,11 +152,12 @@ public class DescriptionView extends ViewPart implements IDataChangedListener {
.getProjectMarkupLanguage());
isRefreshNecessary = true;
}
- if (m_selectedNode.equals(dataChangedEvent.getPo())) {
+ if (m_selectedNode != null
+ && m_selectedNode.equals(dataChangedEvent.getPo())) {
isRefreshNecessary = true;
}
}
- if (isRefreshNecessary) {
+ if (m_selectedNode != null && isRefreshNecessary) {
setDescriptionForBrowser(m_selectedNode);
}
}

Back to the top