summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-20 10:11:34 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-20 10:11:34 +0000
commit2a17b002ab6a5fc52e0c40bea691cdb506ca59be (patch)
tree13dd7e2b5bc4fd0fb8398fec8b6ffe01b68febdf /src
parentcc3d9d61957d9963eac000ec086291ec6c0d290e (diff)
More debugging for refer button.
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_sub_panel.cc8
1 files changed, 8 insertions, 0 deletions
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<DCPContent>
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);
}