fix pp input

This commit is contained in:
Yannik Schmidt
2020-09-07 20:12:13 +02:00
parent 1839b4b28e
commit 7793499acc

View File

@@ -105,7 +105,7 @@ void ServerConfig::addNewPP(){
MultiValueInputDialog *dialog = new MultiValueInputDialog(sl, wl);
if (dialog->exec() == QDialog::Accepted) {
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()){
sc->submitPostProcessorChange(keyword->text(), replace->text());