mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 00:41:35 +01:00
fix pp input
This commit is contained in:
@@ -105,7 +105,7 @@ void ServerConfig::addNewPP(){
|
|||||||
MultiValueInputDialog *dialog = new MultiValueInputDialog(sl, wl);
|
MultiValueInputDialog *dialog = new MultiValueInputDialog(sl, wl);
|
||||||
if (dialog->exec() == QDialog::Accepted) {
|
if (dialog->exec() == QDialog::Accepted) {
|
||||||
auto keyword = static_cast<QLineEdit*>(wl->at(0));
|
auto keyword = static_cast<QLineEdit*>(wl->at(0));
|
||||||
auto replace = static_cast<QLineEdit*>(wl->at(0));
|
auto replace = static_cast<QLineEdit*>(wl->at(1));
|
||||||
|
|
||||||
if(!keyword->text().isEmpty() && !replace->text().isEmpty()){
|
if(!keyword->text().isEmpty() && !replace->text().isEmpty()){
|
||||||
sc->submitPostProcessorChange(keyword->text(), replace->text());
|
sc->submitPostProcessorChange(keyword->text(), replace->text());
|
||||||
|
|||||||
Reference in New Issue
Block a user