Skip to content

Commit

Permalink
iss1128 "Show change history" action collapses blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
witek committed Nov 26, 2015
1 parent 424ba10 commit 201d655
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Copyright 2011 Witoslaw Koczewsi <[email protected]>, Artjom Kochtchi
*
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero
* General Public License as published by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
*
* You should have received a copy of the GNU General Public License along with this program. If not, see
* <http://www.gnu.org/licenses/>.
*/
Expand All @@ -19,7 +19,7 @@
import scrum.client.common.AScrumAction;
import scrum.client.common.AScrumGwtEntity;
import scrum.client.common.TooltipBuilder;
import scrum.client.workspace.ProjectWorkspaceWidgets;
import scrum.client.core.EventBus;

public class ActivateChangeHistoryAction extends AScrumAction {

Expand All @@ -43,8 +43,7 @@ public String getLabel() {
@Override
protected void onExecute() {
Scope.get().getComponent(ChangeHistoryManager.class).activateChangeHistory(entity);
Scope.get().getComponent(ProjectWorkspaceWidgets.class).showEntity(entity);
entity.updateLastModified();
EventBus.get().visibleDataChanged();
}

}

0 comments on commit 201d655

Please sign in to comment.