Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
e9b854b7
Unverified
Commit
e9b854b7
authored
Feb 19, 2019
by
Rémi Verschelde
Committed by
GitHub
Feb 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26033 from karliss/project-import
Fix project opening while filter is applied.
parents
29fd942d
bb3429c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
project_manager.cpp
editor/project_manager.cpp
+7
-0
project_manager.h
editor/project_manager.h
+1
-0
No files found.
editor/project_manager.cpp
View file @
e9b854b7
...
...
@@ -1422,6 +1422,7 @@ void ProjectManager::_on_projects_updated() {
}
void
ProjectManager
::
_on_project_created
(
const
String
&
dir
)
{
project_filter
->
clear
();
bool
has_already
=
false
;
for
(
int
i
=
0
;
i
<
scroll_children
->
get_child_count
();
i
++
)
{
HBoxContainer
*
hb
=
Object
::
cast_to
<
HBoxContainer
>
(
scroll_children
->
get_child
(
i
));
...
...
@@ -2235,3 +2236,9 @@ ProjectListFilter::ProjectListFilter() {
has_search_box
=
false
;
}
void
ProjectListFilter
::
clear
()
{
if
(
has_search_box
)
{
search_box
->
clear
();
}
}
editor/project_manager.h
View file @
e9b854b7
...
...
@@ -154,6 +154,7 @@ public:
FilterOption
get_filter_option
();
void
set_filter_option
(
FilterOption
);
ProjectListFilter
();
void
clear
();
};
#endif // PROJECT_MANAGER_H
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