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>
Fri, 10 May 2019 22:43:42 +0000 (23:43 +0100)
src/tools/dcpomatic.cc

index 3fb291fc427d3d0647e9f9b13fd940cd604b6d9d..5bd22041edd975ad25dcb6d957ba177bf25a269e 100644 (file)
@@ -1270,7 +1270,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);