summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/player_information.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/wx/player_information.cc b/src/wx/player_information.cc
index 279ff0860..4e95e0956 100644
--- a/src/wx/player_information.cc
+++ b/src/wx/player_information.cc
@@ -139,7 +139,15 @@ PlayerInformation::triggered_update ()
}
int r = 0;
- checked_set (_dcp[r++], std_to_wx(dcp->name()));
+ checked_set(_dcp[r], std_to_wx(dcp->name()));
+ wxString tooltip;
+ for (auto directory: dcp->directories()) {
+ tooltip += std_to_wx(directory.string()) + "\n";
+ }
+ if (!tooltip.empty()) {
+ _dcp[r]->SetToolTip(tooltip.substr(0, tooltip.length() - 1));
+ }
+ ++r;
if (dcp->needs_assets()) {
checked_set (_dcp[r], _("Needs OV"));