1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-06 21:39:29 +00:00

add editor text

This commit is contained in:
Alex Xu
2024-05-11 18:27:36 -07:00
parent 79752c7f38
commit af8c564a50

View File

@@ -492,6 +492,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
else:
fname = ['']
self.showDialog("Editor is disabled due to a lack of 7z.", 'error')
self.addMessage('<a href="https://github.com/ciromattia/kcc#7-zip">Install 7z (link)</a>'
' to enable metadata editing.', 'warning')
if fname[0] != '':
if sys.platform.startswith('win'):
sname = fname[0].replace('/', '\\')