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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2.12
    • Affects Version/s: 3.0.0a1
    • Component/s: 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'

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

              Created:
              Updated:

                Version Package
                2.12