Skip to content

Commit 8cef297

Browse files
committed
GUI - remove dodgy autocompletion
1 parent f53fcc2 commit 8cef297

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

app/gui/qt/sonicpiapis.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,22 @@ void SonicPiAPIs::updateAutoCompletionList(const QStringList &context,
121121
} else if (last == "use_tuning" || last == "with_tuning") {
122122
ctx = Tuning;
123123

124-
// FX params
125-
} else if (words.length() >= 2 &&
126-
(first == "with_fx" || first == "use_fx")) {
127-
if (last.endsWith(':')) return; // don't try to complete parameters
128-
if (fxArgs.contains(second)) {
129-
list = fxArgs[second];
130-
return;
131-
}
132-
133-
// Synth params
134-
} else if (words.length() >= 2 && first == "synth") {
135-
if (last.endsWith(':')) return; // don't try to complete parameters
136-
if (synthArgs.contains(second)) {
137-
list = synthArgs[second];
138-
return;
139-
}
124+
// // FX params
125+
// } else if (words.length() >= 2 &&
126+
// (first == "with_fx" || first == "use_fx")) {
127+
// if (last.endsWith(':')) return; // don't try to complete parameters
128+
// if (fxArgs.contains(second)) {
129+
// list = fxArgs[second];
130+
// return;
131+
// }
132+
133+
// // Synth params
134+
// } else if (words.length() >= 2 && first == "synth") {
135+
// if (last.endsWith(':')) return; // don't try to complete parameters
136+
// if (synthArgs.contains(second)) {
137+
// list = synthArgs[second];
138+
// return;
139+
// }
140140

141141
// Play params
142142
} else if (words.length() >= 2 && first == "play") {

0 commit comments

Comments
 (0)