Don't update the shown state of the tool window when it's already invisible

This commit is contained in:
Brad Davis 2016-06-28 18:10:06 -07:00
parent 34faf45a5d
commit 962f9d5f22

View file

@ -137,12 +137,15 @@ ScrollingWindow {
}
function updateVisiblity() {
for (var i = 0; i < tabView.count; ++i) {
if (tabView.getTab(i).enabled) {
return;
if (visible) {
for (var i = 0; i < tabView.count; ++i) {
if (tabView.getTab(i).enabled) {
console.log("QQQ tab is visible, returning early");
return;
}
}
shown = false;
}
shown = false;
}
function findIndexForUrl(source) {