Disable hints when there is no film.
authorCarl Hetherington <cth@carlh.net>
Thu, 21 Mar 2019 00:17:58 +0000 (00:17 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 Apr 2019 23:22:40 +0000 (00:22 +0100)
src/tools/dcpomatic.cc

index 1db6b2d0fac0082d65b0a1d3129efb36a9441d7d..7d3723cb2bfd99a7e24c77f88c56c44d3f149a0a 100644 (file)
@@ -1262,7 +1262,7 @@ private:
                add_item (view, _("Video waveform..."), ID_view_video_waveform, NEEDS_FILM);
 
                wxMenu* tools = new wxMenu;
-               add_item (tools, _("Hints..."), ID_tools_hints, 0);
+               add_item (tools, _("Hints..."), ID_tools_hints, NEEDS_FILM);
                add_item (tools, _("Encoding servers..."), ID_tools_encoding_servers, 0);
                add_item (tools, _("Manage templates..."), ID_tools_manage_templates, 0);
                add_item (tools, _("Check for updates"), ID_tools_check_for_updates, 0);