Added RAR5 support

This commit is contained in:
Paweł Jastrzębski
2019-03-06 20:12:11 +01:00
parent 409f077c3e
commit 535c2c220b
2 changed files with 3 additions and 3 deletions
+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.')