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

This commit is contained in:
Kiran Niranjan 2018-06-20 11:23:57 +05:30 committed by Vishwas Shashidhar
parent b2875674fd
commit 68d9ed9c00
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