StringListWidget always wants focus.

This commit is contained in:
Stephen Anthony 2017-04-09 20:23:33 -02:30
parent 07f605d8be
commit d456721c5e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class StringListWidget : public ListWidget
virtual ~StringListWidget() = default;
void setList(const StringList& list);
bool wantsFocus() const override { return true; }
protected:
void drawWidget(bool hilite) override;