projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268fd2b
)
Fix #1375 by searching across all model columns
author
Soeren Apel
<soeren@apelpie.net>
Sun, 21 Apr 2019 06:44:10 +0000
(08:44 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sun, 21 Apr 2019 06:47:45 +0000
(08:47 +0200)
This way, a search for "i2c" includes the ID field, not just the name.
pv/subwindows/decoder_selector/subwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/subwindows/decoder_selector/subwindow.cpp
b/pv/subwindows/decoder_selector/subwindow.cpp
index af6de2d95f295a87827805083b0892f75e4ad533..19632ad17a05051b22f63e649923d98d0b34f484 100644
(file)
--- a/
pv/subwindows/decoder_selector/subwindow.cpp
+++ b/
pv/subwindows/decoder_selector/subwindow.cpp
@@
-102,6
+102,7
@@
SubWindow::SubWindow(Session& session, QWidget* parent) :
sort_filter_model_->setSourceModel(model_);
sort_filter_model_->setFilterCaseSensitivity(Qt::CaseInsensitive);
+ sort_filter_model_->setFilterKeyColumn(-1);
tree_view_->setModel(sort_filter_model_);
tree_view_->setRootIsDecorated(true);