mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Don't update the shown state of the tool window when it's already invisible
This commit is contained in:
parent
34faf45a5d
commit
962f9d5f22
1 changed files with 7 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue