Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2901

Pressing Shift+Alt+A (Add tag) raises an exception when there's nothing to edit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.12
    • 3.0
    • User Interface
    • None

      How to reproduce: just press Shift+Alt+A when nothing is displayed in metadata box

      It will log following exception:

      Traceback (most recent call last):
      File "/home/zas/src/picard/./picard/ui/metadatabox.py", line 459, in edit_tag
      EditTagDialog(self.parent, tag).exec()
      File "/home/zas/src/picard/./picard/ui/edittagdialog.py", line 109, in _init_
      set(list(TAG_NAMES.keys()) + self.metadata_box.tag_diff.tag_names))
      AttributeError: 'NoneType' object has no attribute 'tag_names'

            zas Zas
            zas Zas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.12