Skip to content

Commit

Permalink
458 contextual menus for keyframe widget indicators - progress 3
Browse files Browse the repository at this point in the history
- comment unnecessary code.
  • Loading branch information
d-j-a-y authored and morevnaproject committed Oct 31, 2014
1 parent a0310b2 commit ea25c4d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions synfig-studio/src/gui/actionmanagers/keyframeactionmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,12 @@ KeyframeActionManager::refresh()
synfigapp::Action::CATEGORY_KEYFRAME
);
}
if(action_group_->get_action("action-KeyframeAdd"))
{
action_group_->remove(action_group_->get_action("action-KeyframeAdd"));
}

// unnecessary has KeyframeActionManager::clear() is performed upper
// if(action_group_->get_action("action-KeyframeAdd"))
// {
// action_group_->remove(action_group_->get_action("action-KeyframeAdd"));
// }

action_group_->add(Gtk::Action::create(
"action-KeyframeAdd",
Expand Down

0 comments on commit ea25c4d

Please sign in to comment.