Skip to content

Commit

Permalink
Columns button resizes the dialog window
Browse files Browse the repository at this point in the history
  • Loading branch information
neoneela committed Nov 22, 2023
1 parent 78850cf commit da77619
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/gui/src/searchbar/searchoptions_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ namespace hal
mLayout->addWidget(mCloseBtn, 7, 1);
mLayout->setHorizontalSpacing(20);


connect(mCloseBtn, &QPushButton::clicked, this, &SearchOptionsDialog::close);
connect(mSearchBtn, &QPushButton::clicked, this, &SearchOptionsDialog::emitStartSearch);
connect(mSelectColumnsBtn, &QPushButton::clicked, this, &SearchOptionsDialog::selectColumns);
Expand Down Expand Up @@ -160,6 +161,7 @@ namespace hal
mSelectColumnsBtn->setText(formatColumnButtonText(scd.selectedColumnNames()));
mSelectedColumns = scd.selectedColumns();
}
this->adjustSize();
}

QString SearchOptionsDialog::formatColumnButtonText(QString text)
Expand Down

0 comments on commit da77619

Please sign in to comment.