Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deduplicate seek forward and backward action. #1844

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

karliss
Copy link
Member

@karliss karliss commented Oct 15, 2019

Detailed description

Use the same QAction for seek in menu bar and toolbar. Allows action shortcut to be displayed in any of applicable places. Will also help with state synchronization in future if we decide to implement disabling of buttons when further seeking is not possible.

Don't want to steal too many "good first issue" from those who need them, but I didn't want to explain Qt recommended approach one more time.

Test plan (required)

  • Test that buttons in toolbar work
  • Test buttons in the menu
  • Make sure menu displays shortcuts

seek_but

Closing issues

Closes #1836

@karliss karliss marked this pull request as ready for review October 15, 2019 20:14
Copy link
Member

@xarkes xarkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Thank you :)

@karliss karliss merged commit 771217d into rizinorg:master Oct 17, 2019
@karliss karliss deleted the back-forwawrd branch October 17, 2019 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add shortcut label to Redo and Undo seek on Edit menu
2 participants