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

Always on top powertoy #702

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Fix build issue
vldmr11080 committed Nov 19, 2019
commit e3723bd9b9573dd50641a99d730e5e07692dec62
2 changes: 1 addition & 1 deletion src/runner/system_menu_helper.cpp
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ void SystemMenuHelper::ProcessSelectedItem(PowertoyModuleIface* module, HWND win
return;
}
}
for (auto it = begin(PendingActions); it != end(PendingActions)) {
for (auto it = begin(PendingActions); it != end(PendingActions);) {
if (it->first == itemName && it->second == window) {
// This item already exists in PendingActions. Remove it, since it will end
// up in original state, after two successive actions.