File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 3636#include " merge/Merge.h"
3737
3838#include < QFileDialog>
39+ #include < QDir>
3940#include < QtMath>
4041#include < QtDebug>
4142
@@ -129,7 +130,8 @@ namespace glabels
129130 }
130131 else
131132 {
132- imageFilenameLineEdit->setText ( filenameNode.data () );
133+ QString fn = QDir (mModel ->dir ()).relativeFilePath ( filenameNode.data () );
134+ imageFilenameLineEdit->setText ( fn );
133135 }
134136
135137 mBlocked = false ;
Original file line number Diff line number Diff line change 11561156 <source >Custom color...</source >
11571157 <translation type =" unfinished" ></translation >
11581158 </message >
1159- <message >
1160- <source >Use key</source >
1161- <translation type =" unfinished" ></translation >
1162- </message >
11631159 <message >
11641160 <source >Custom Color</source >
11651161 <translation type =" unfinished" ></translation >
11691165 <extracomment >%1 = color specification in hex. String must not contain a colon (:).</extracomment >
11701166 <translation type =" unfinished" ></translation >
11711167 </message >
1172- <message >
1173- <source >Custom color #%1</source >
1174- <translation type =" unfinished" ></translation >
1175- </message >
11761168 <message >
11771169 <source >Use substitution field</source >
11781170 <translation type =" unfinished" ></translation >
19341926 <source >Shadow</source >
19351927 <translation type =" unfinished" ></translation >
19361928 </message >
1937- <message >
1938- <source >Insert Field</source >
1939- <translation type =" unfinished" ></translation >
1940- </message >
1941- <message >
1942- <source >Selected File...</source >
1943- <translation type =" unfinished" ></translation >
1944- </message >
19451929 <message >
19461930 <source >Insert substitution field</source >
19471931 <translation type =" unfinished" ></translation >
You can’t perform that action at this time.
0 commit comments