Skip to content

Commit 85b9a5f

Browse files
committed
Associate read-only fields with track property names in track info dialog
1 parent 17be527 commit 85b9a5f

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/library/dlgtrackinfo.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void DlgTrackInfo::init() {
6868

6969
// Store tag edit widget pointers to allow focusing a specific widgets when
7070
// this is opened by double-clicking a WTrackProperty label.
71-
// Associate with property strings taken from library/dao/trackdao.h
71+
// Associate with property strings taken from library/dao/trackdao.cpp
7272
m_propertyWidgets.insert("artist", txtArtist);
7373
m_propertyWidgets.insert("title", txtTitle);
7474
m_propertyWidgets.insert("titleInfo", txtTitle);
@@ -83,6 +83,15 @@ void DlgTrackInfo::init() {
8383
m_propertyWidgets.insert("grouping", txtGrouping);
8484
m_propertyWidgets.insert("comment", txtComment);
8585
m_propertyWidgets.insert("color", btnColorPicker);
86+
m_propertyWidgets.insert("datetime_added", txtDateAdded);
87+
m_propertyWidgets.insert("duration", txtDuration);
88+
m_propertyWidgets.insert("filetype", txtType);
89+
m_propertyWidgets.insert("filesize", txtFileSize);
90+
m_propertyWidgets.insert("bitrate", txtBitrate);
91+
m_propertyWidgets.insert("samplerate", txtSamplerate);
92+
m_propertyWidgets.insert("replaygain", txtReplayGain);
93+
m_propertyWidgets.insert("replaygain_peak", txtReplayGain);
94+
m_propertyWidgets.insert("track_locations.location", txtLocation);
8695

8796
coverLayout->insertWidget(0, m_pWCoverArtLabel.get());
8897

0 commit comments

Comments
 (0)