Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
6ca9f6d4
Commit
6ca9f6d4
authored
Jun 28, 2016
by
Stéphane Albert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Fixed OTB-app search issue.
parent
d1a67026
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Code/Common/Gui/mvdApplicationsToolBox.cxx
Code/Common/Gui/mvdApplicationsToolBox.cxx
+7
-2
No files found.
Code/Common/Gui/mvdApplicationsToolBox.cxx
View file @
6ca9f6d4
...
...
@@ -182,7 +182,7 @@ ApplicationsToolBox
// does the current algorithm DocName match the search text
if
(
m_SearchText
.
isEmpty
()
||
title
.
contains
(
m_SearchText
,
Qt
::
CaseInsensitive
)
||
name
.
contains
(
m_SearchText
,
Qt
::
CaseInsensitive
)
)
name
.
contains
(
m_SearchText
,
Qt
::
CaseInsensitive
)
)
{
//
// set current application name as secondary item
...
...
@@ -224,9 +224,14 @@ ApplicationsToolBox
for
(
StringVector
::
const_iterator
itApps
(
itTag
->
second
.
begin
()
);
itApps
!=
itTag
->
second
.
end
();
++
itApps
)
if
(
GetApplicationDocNameByApplicationName
(
itApps
->
c_str
()
)
{
QString
name
(
FromStdString
(
*
itApps
)
);
if
(
name
.
contains
(
m_SearchText
,
Qt
::
CaseInsensitive
)
||
GetApplicationDocNameByApplicationName
(
name
)
.
contains
(
m_SearchText
,
Qt
::
CaseInsensitive
)
)
return
true
;
}
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment