From 2e27d014c584ac5348feca9c2d21b036fba437c0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 12 Apr 2015 17:23:50 +0100 Subject: Hand-apply 1b68e4de5260a08e7f06a1b802cfc7eb41cd4be8 from master. --- src/wx/video_panel.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index cdd2eb5de..67c369de2 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -262,10 +262,13 @@ VideoPanel::film_content_changed (int property) } } else if (property == FFmpegContentProperty::FILTERS) { if (fcs) { - string const p = Filter::ffmpeg_string (fcs->filters ()); + string p = Filter::ffmpeg_string (fcs->filters ()); if (p.empty ()) { _filters->SetLabel (_("None")); } else { + if (p.length() > 25) { + p = p.substr (0, 25) + "..."; + } _filters->SetLabel (std_to_wx (p)); } } -- cgit v1.2.3