vtl: make "Remove Video" insensitive if N/A

This commit is contained in:
Robin Gareus 2013-06-13 00:54:43 +02:00
parent 67704f8de2
commit 6b480bb2f7
6 changed files with 20 additions and 1 deletions

View file

@ -773,6 +773,15 @@ Editor::set_group_tabs ()
}
}
void
Editor::set_close_video_sensitive (bool onoff)
{
Glib::RefPtr<Action> act = ActionManager::get_action (X_("Main"), X_("CloseVideo"));
if (act) {
act->set_sensitive (onoff);
}
}
void
Editor::set_xjadeo_sensitive (bool onoff)
{