Added RAR5 support

This commit is contained in:
Paweł Jastrzębski committed 2019-03-06 20:12:11 +01:00
1 parent 409f077c3e
commit 535c2c220b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1078,7 +1078,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
class KCCGUI_MetaEditor(KCC_ui_editor.Ui_editorDialog):
def loadData(self, file):
self.parser = metadata.MetadataParser(file)
if self.parser.format == 'RAR':
if self.parser.format in ['RAR', 'RAR5']:
self.editorWidget.setEnabled(False)
self.okButton.setEnabled(False)
self.statusLabel.setText('CBR metadata are read-only.')