Skip to content

Commit b156154

Browse files
committed
Bug 1870852 - Fixed about:welcome pinning regression r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D196897
1 parent e08a98e commit b156154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/components/shell/nsWindowsShellService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ static nsresult PinCurrentAppToTaskbarWin10(bool aCheckOnly,
14771477
// The behavior here is identical if we're only checking or if we try to pin
14781478
// but the app is already pinned so we update the variable accordingly.
14791479
if (!aCheckOnly) {
1480-
aCheckOnly = !IsCurrentAppPinnedToTaskbarSync(aAppUserModelId);
1480+
aCheckOnly = IsCurrentAppPinnedToTaskbarSync(aAppUserModelId);
14811481
}
14821482
const bool pinType = true; // true means pin
14831483
return ManageShortcutTaskbarPins(aCheckOnly, pinType, aShortcutPath);

0 commit comments

Comments
 (0)