Commit af8536f8 authored by Laurent Aimar's avatar Laurent Aimar

Enable frame by frame button only when video is present.

parent 3ce2f703
...@@ -255,7 +255,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int* i_size, ...@@ -255,7 +255,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int* i_size,
setupButton( frameButton ); setupButton( frameButton );
CONNECT_MAP_SET( frameButton, FRAME_ACTION ); CONNECT_MAP_SET( frameButton, FRAME_ACTION );
BUTTON_SET_BAR( frameButton, frame, qtr( "Frame by frame" ) ); BUTTON_SET_BAR( frameButton, frame, qtr( "Frame by frame" ) );
ENABLE_ON_INPUT( frameButton ); ENABLE_ON_VIDEO( frameButton );
widget = frameButton; widget = frameButton;
} }
break; break;
......
Markdown is supported
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