Skip to content

Commit

Permalink
Update screenshots_tab_feature.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson committed Jan 10, 2025
1 parent f6f8e65 commit ea471d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions browser/brave_screenshots/screenshots_tab_feature.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ void BraveScreenshotsTabFeature::OnCaptureComplete(

// While the image will be written to the clipboard, depending on its size it
// may not be displayed within Windows' clipboard history (Win+V)
utils::CopyImageToClipboard(result);
utils::DisplayScreenshotBubble(result, browser_);
if (browser_) {
utils::CopyImageToClipboard(result);
utils::DisplayScreenshotBubble(result, browser_);
}
}

} // namespace brave_screenshots

0 comments on commit ea471d7

Please sign in to comment.