ELECTRON-568 - Enable applications tab only if it is passed in the types (#400)

This commit is contained in:
Kiran Niranjan 2018-06-16 14:42:59 +05:30 committed by Vishwas Shashidhar
parent f2d2ff13da
commit fd39d680a0
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ function getSource(options, callback) {
};
}
if (isWindowsOS) {
if (isWindowsOS && captureWindow) {
/**
* Sets the captureWindow to false if Desktop composition
* is disabled otherwise true

View File

@ -50,7 +50,7 @@ function getSources(options, callback) {
};
}
if (isWindowsOS) {
if (isWindowsOS && captureWindow) {
/**
* Sets the captureWindow to false if Desktop composition
* is disabled otherwise true