summary refs log tree commit diff
path: root/include/QuickSwitcher.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-27 14:04:13 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-27 14:04:13 +0300
commit2c6192d08f8f609c32adfb56c628dc86b43c8c54 (patch)
treea2375f2d6193ebb7404d2e0b8555a25418da9fff /include/QuickSwitcher.h
parentImprove room searching (diff)
downloadnheko-2c6192d08f8f609c32adfb56c628dc86b43c8c54.tar.xz
Fix clicking on room list suggestions
Diffstat (limited to 'include/QuickSwitcher.h')
-rw-r--r--include/QuickSwitcher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/QuickSwitcher.h b/include/QuickSwitcher.h

index ce0ed00b..ce3c4f25 100644 --- a/include/QuickSwitcher.h +++ b/include/QuickSwitcher.h
@@ -63,6 +63,12 @@ protected: void paintEvent(QPaintEvent *event) override; private: + void reset() + { + emit closing(); + roomSearch_->clear(); + } + // Current highlighted selection from the completer. int selection_ = -1;