Skip to content

Commit

Permalink
Fix key namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lpozo committed Aug 15, 2023
1 parent b61adab commit a49c131
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions videomorph/forms/videomorph.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _create_actions(self):
"open_media_file_action": dict(
icon=QIcon(":/icons/video-file.png"),
text=self.tr("&Add Videos..."),
shortcut=QKeySequence.Open,
shortcut=QKeySequence.StandardKey.Open,
tip=self.tr("Add Videos to the " "List of Conversion Tasks"),
callback=self.open_media_files,
),
Expand Down Expand Up @@ -384,7 +384,7 @@ def _create_actions(self):
"remove_media_file_action": dict(
icon=QIcon(":/icons/remove-file.png"),
text=self.tr("&Remove Video"),
shortcut=QKeySequence.Delete,
shortcut=QKeySequence.StandardKey.Delete,
tip=self.tr(
"Remove Selected Video from the "
"List of Conversion Tasks"
Expand Down Expand Up @@ -419,7 +419,7 @@ def _create_actions(self):
"help_content_action": dict(
icon=QIcon(":/icons/about.png"),
text=self.tr("&Contents"),
shortcut=QKeySequence.HelpContents,
shortcut=QKeySequence.StandardKey.HelpContents,
tip=self.tr("Help Contents"),
callback=self.help_content,
),
Expand Down Expand Up @@ -448,7 +448,7 @@ def _create_actions(self):
"exit_action": dict(
icon=QIcon(":/icons/exit.png"),
text=self.tr("E&xit"),
shortcut=QKeySequence.Quit,
shortcut=QKeySequence.StandardKey.Quit,
tip=self.tr("Exit") + " " + self.title,
callback=self.close,
),
Expand Down

0 comments on commit a49c131

Please sign in to comment.