Commit d390f6e3 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ClearCase: Update view data when topLevel is changed

Change-Id: I9d471dea120dd78382245faac04acc9cd44c3b4a
Reviewed-by: default avatarKnut Petter Svendsen <>
Reviewed-by: default avatarTobias Hunger <>
parent 72d116ba
......@@ -845,8 +845,13 @@ void ClearCasePlugin::updateActions(VcsBase::VcsBasePlugin::ActionState as)
const VcsBase::VcsBasePluginState state = currentState();
const bool hasTopLevel = state.hasTopLevel();
if (hasTopLevel)
m_topLevel = state.topLevel();
if (hasTopLevel) {
const QString topLevel = state.topLevel();
if (m_topLevel != topLevel) {
m_topLevel = topLevel;
m_viewData = ccGetView(topLevel);
m_updateViewAction->setParameter(m_viewData.isDynamic ? QString() :;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment