mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Improve code style, Wrap code for better readability
This commit is contained in:
@@ -135,6 +135,8 @@ Qt::CheckState ElementInfoPartWidget::EraseTextCheckState() const {
|
||||
|
||||
void ElementInfoPartWidget::on_m_erase_text_clicked()
|
||||
{
|
||||
ui->line_edit->setText(ui->m_erase_text->isChecked() ? SearchAndReplaceWorker::eraseText() : QString());
|
||||
ui->line_edit->setText(ui->m_erase_text->isChecked()
|
||||
? SearchAndReplaceWorker::eraseText()
|
||||
: QString());
|
||||
ui->line_edit->setDisabled(ui->m_erase_text->isChecked());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user