reverse case

This commit is contained in:
taynpg 2025-07-09 10:35:37 +08:00
parent 8fda629714
commit eb77ad7b01

View File

@ -434,7 +434,7 @@ void MainWidget::search(const QString& key)
}
QRegularExpression regex;
if (!ui->cbCaseSensitive->isChecked()) {
if (ui->cbCaseSensitive->isChecked()) {
regex = QRegularExpression(bkey);
} else {
regex = QRegularExpression(bkey, QRegularExpression::CaseInsensitiveOption);