mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Skip hiding already hidden tracks radio buttons
Does not change much, but removes some useless logging
This commit is contained in:
7
src/controls.js
vendored
7
src/controls.js
vendored
@@ -161,9 +161,10 @@ class ClapperControls extends Gtk.Box
|
||||
|
||||
while(child || i < array.length) {
|
||||
if(i >= array.length) {
|
||||
debug(`hiding unused ${child.type} checkButton nr: ${i}`);
|
||||
child.visible = false;
|
||||
|
||||
if(child.visible) {
|
||||
debug(`hiding unused ${child.type} checkButton nr: ${i}`);
|
||||
child.visible = false;
|
||||
}
|
||||
i++;
|
||||
child = child.get_next_sibling();
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user