projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3d9d6
)
More debugging for refer button.
author
Carl Hetherington
<cth@carlh.net>
Tue, 20 Dec 2016 10:11:34 +0000
(10:11 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 20 Dec 2016 10:11:34 +0000
(10:11 +0000)
src/wx/content_sub_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_sub_panel.cc
b/src/wx/content_sub_panel.cc
index 8679604cbc3af0550fb4e022e0dd1ffefc51fcc0..e9d082701ccaa4cff7319a4aea81570ea09df115 100644
(file)
--- 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);
}