提交 02a97c15 编写于 作者: M Martijn Buijs 提交者: Kentaro Wada

Show relative path instead of full path to save some space

上级 694436dc
......@@ -1039,8 +1039,7 @@ class MainWindow(QMainWindow, WindowMixin):
for file in files:
if file.lower().endswith(tuple(extensions)):
relativePath = os.path.join(root, file)
path = str(os.path.abspath(relativePath))
images.append(path)
images.append(relativePath)
images.sort(key=lambda x: x.lower())
return images
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册