mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
filter: don't render filter preset name as HTML text
QLabels must be explicitly set to not accept HTML input. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
396598430b
commit
5caac4c480
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ FilterWidget::FilterWidget(QWidget* parent) :
|
|||
ui.presetTable->horizontalHeader()->setStretchLastSection(true);
|
||||
ui.presetTable->resizeColumnsToContents();
|
||||
|
||||
ui.currentSet->setTextFormat(Qt::PlainText);
|
||||
|
||||
connect(ui.clear, &QToolButton::clicked, this, &FilterWidget::clearFilter);
|
||||
connect(ui.close, &QToolButton::clicked, this, &FilterWidget::closeFilter);
|
||||
connect(ui.fullText, &QLineEdit::textChanged, this, &FilterWidget::filterChanged);
|
||||
|
|
Loading…
Add table
Reference in a new issue