Skip to content

Commit

Permalink
Qt: Enable clear button on hotkey search
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 3, 2025
1 parent dda10d3 commit f9bb413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/duckstation-qt/hotkeysettingswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ HotkeySettingsWidget::Container::Container(QWidget* parent) : QWidget(parent)
{
m_search = new QLineEdit(this);
m_search->setPlaceholderText(tr("Search..."));
m_search->setClearButtonEnabled(true);
}

HotkeySettingsWidget::Container::~Container() = default;
Expand Down

0 comments on commit f9bb413

Please sign in to comment.