Disable the video details menu item when no video is loaded

Originally committed to SVN as r5193.
This commit is contained in:
Thomas Goyne 2011-01-16 07:15:05 +00:00
parent 685d4841dc
commit 77cb5b75b8

View file

@ -1161,7 +1161,7 @@ void FrameMain::OnMenuOpen (wxMenuEvent &event) {
MenuBar->Enable(cmd::id("timecode/close"),VideoContext::Get()->OverTimecodesLoaded());
MenuBar->Enable(cmd::id("keyframe/close"),VideoContext::Get()->OverKeyFramesLoaded());
MenuBar->Enable(cmd::id("keyframe/save"),VideoContext::Get()->KeyFramesLoaded());
MenuBar->Enable(cmd::id("video/detach"),state);
MenuBar->Enable(cmd::id("video/details"),state);
MenuBar->Enable(cmd::id("video/show_overscan"),state);
// Set AR radio