Spectacle should close if both -b and -c are set
Preparation to fix this one:
CCBUG: 411263
Spectacle should close if both -b and -c are set
Preparation to fix this one:
CCBUG: 411263
start spectacle:
spectacle -b -c
Expected:
Observed:
No Linters Available |
No Unit Test Coverage |
Buildable 15740 | |
Build 15758: arc lint + arc unit |
Looking at this the connect should be outside the if instead of just adding it outside the if.
When I added this in c6ad1d6ae9291685b2767ab70bdeaaadb7783658 there was no if. I think that's because of the cherry-pick in 7f30ee858368695a10ebbe628aabf0ef688f60cf?
I see now, there was no if in c6ad1d6ae9291685b2767ab70bdeaaadb7783658 . The if got added with the check for if (!mCopySaveLocationToClipboard)...
Looking at it again, we could just delete the else and move the connect from L351 outside the if