Commit 123fb350 authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

screenshot: don't fire flash if we failed to take picture
parent 1a27d7df
......@@ -111,7 +111,7 @@ const GnomeShell = new Lang.Class({
_onScreenshotComplete: function(obj, result, area, flash, invocation) {
if (flash) {
if (flash && result) {
let flashspot = new Flashspot.Flashspot(area);;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment