From: Carl Hetherington Date: Tue, 20 Dec 2016 10:11:34 +0000 (+0000) Subject: More debugging for refer button. X-Git-Tag: v2.10.5-test~6 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2a17b002ab6a5fc52e0c40bea691cdb506ca59be;p=dcpomatic.git More debugging for refer button. --- diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index 8679604cb..e9d082701 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -66,5 +66,13 @@ ContentSubPanel::setup_refer_button (wxCheckBox* button, shared_ptr s += std_to_wx(i) + wxT(" "); } } + + /* XXX: more debugging */ + if (!s.IsEmpty()) { + dcp->film()->log()->log (String::compose ("setting tooltip to %1", wx_to_std (s)), LogEntry::TYPE_GENERAL); + } else { + dcp->film()->log()->log ("clearing tooltip", LogEntry::TYPE_GENERAL); + } + button->SetToolTip (s); }