aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.py')
-rw-r--r--src/command.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command.py b/src/command.py
index 7b05591..4850051 100644
--- a/src/command.py
+++ b/src/command.py
@@ -176,6 +176,10 @@ class Command(QtCore.QObject):
return "GUI"
def createAudioVisualization(self, input, output):
+ if not self.core.selectedComponents:
+ print("No components selected. Adding a default visualizer.")
+ time.sleep(1)
+ self.core.insertComponent(0, 0, self)
self.core.selectedComponents = list(
reversed(self.core.selectedComponents))
self.core.componentListChanged()
='logheader'>2026-03-14refactor: src/server.pykj_sh6041-4/+4 2026-03-14refactor: README.mdkj_sh6041-2/+2 2026-03-14refactor: src/kj_sh6044-0/+852 2026-03-14refactor: server.pykj_sh6041-845/+0 2026-03-14refactor: index.htmlkj_sh6041-1/+0 2026-03-14refactor: data/.db-gets-made-herekj_sh6041-1/+0 2026-03-14refactor: .gitignorekj_sh6041-5/+0