AUTO+CONF dynamic update
This commit is contained in:
parent
f304d31960
commit
f072ec74ed
@ -2806,10 +2806,12 @@ void MainWindow::on_menuModeJS8_aboutToShow(){
|
|||||||
auto autoreplyText = ui->actionModeAutoreply->text();
|
auto autoreplyText = ui->actionModeAutoreply->text();
|
||||||
if(m_config.autoreply_confirmation() && !autoreplyText.contains(" with Confirmation")){
|
if(m_config.autoreply_confirmation() && !autoreplyText.contains(" with Confirmation")){
|
||||||
autoreplyText.replace("Autoreply", "Autoreply with Confirmation");
|
autoreplyText.replace("Autoreply", "Autoreply with Confirmation");
|
||||||
|
autoreplyText.replace("&AUTO", "&AUTO+CONF");
|
||||||
ui->actionModeAutoreply->setText(autoreplyText);
|
ui->actionModeAutoreply->setText(autoreplyText);
|
||||||
}
|
}
|
||||||
else if(!m_config.autoreply_confirmation() && autoreplyText.contains(" with Confirmation")){
|
else if(!m_config.autoreply_confirmation() && autoreplyText.contains(" with Confirmation")){
|
||||||
autoreplyText.replace(" with Confirmation", "");
|
autoreplyText.replace(" with Confirmation", "");
|
||||||
|
autoreplyText.replace("+CONF", "");
|
||||||
ui->actionModeAutoreply->setText(autoreplyText);
|
ui->actionModeAutoreply->setText(autoreplyText);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user