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

BreakpointWidget: Fix delete deleting both MBP and BP at address #9564

Merged
merged 1 commit into from Mar 5, 2021

Conversation

sepalani
Copy link
Contributor

@sepalani sepalani commented Mar 4, 2021

This PR fixes the delete action which deletes everything matching the address of the selected item (i.e. both memory and regular breakpoints).

Ready to be reviewed & merged.

Settings::Instance().blockSignals(false);
if (is_memcheck)
{
Settings::Instance().blockSignals(true);
Copy link
Member

Choose a reason for hiding this comment

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

I realise this was already written like this, but using a QSignalBlocker would be cleaner here. Idea for a follow-up PR :)

Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp Outdated Show resolved Hide resolved
Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp Outdated Show resolved Hide resolved
@sepalani
Copy link
Contributor Author

sepalani commented Mar 5, 2021

@leoetlino
Done.

@leoetlino leoetlino merged commit de30559 into dolphin-emu:master Mar 5, 2021
10 checks passed
@sepalani sepalani deleted the bp-del branch March 5, 2021 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants