Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
db10d0f1
Commit
db10d0f1
authored
8 years ago
by
Sergey Ignatov
Browse files
Options
Download
Email Patches
Plain Diff
add back label to the bottom panel only in case of single generator
parent
de38d17b
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/platform-impl/src/com/intellij/openapi/wm/impl/welcomeScreen/FlatWelcomeFrame.java
+5
-5
...ellij/openapi/wm/impl/welcomeScreen/FlatWelcomeFrame.java
with
5 additions
and
5 deletions
+5
-5
platform/platform-impl/src/com/intellij/openapi/wm/impl/welcomeScreen/FlatWelcomeFrame.java
+
5
-
5
View file @
db10d0f1
...
...
@@ -57,7 +57,6 @@ import com.intellij.ui.popup.list.GroupedItemsListRenderer;
import
com.intellij.util.ParameterizedRunnable
;
import
com.intellij.util.containers.ContainerUtil
;
import
com.intellij.util.containers.Convertor
;
import
com.intellij.util.containers.JBTreeTraverser
;
import
com.intellij.util.ui.JBUI
;
import
com.intellij.util.ui.MouseEventAdapter
;
import
com.intellij.util.ui.UIUtil
;
...
...
@@ -878,10 +877,11 @@ public class FlatWelcomeFrame extends JFrame implements IdeFrame, Disposable, Ac
selected
.
set
(
panel
);
main
.
add
(
selected
.
get
());
JBTreeTraverser
<
Component
>
traverser
=
UIUtil
.
uiTraverser
(
panel
);
JPanel
first
=
traverser
.
traverse
().
filter
(
JPanel
.
class
).
filter
((
it
)
->
BOTTOM_PANEL
.
equals
(
it
.
getName
())).
first
();
if
(
back
!=
null
&&
first
!=
null
)
{
first
.
add
(
back
,
BorderLayout
.
WEST
);
if
(
singleProjectGenerator
&&
back
!=
null
)
{
JPanel
first
=
UIUtil
.
uiTraverser
(
panel
).
traverse
().
filter
(
JPanel
.
class
).
filter
((
it
)
->
BOTTOM_PANEL
.
equals
(
it
.
getName
())).
first
();
if
(
first
!=
null
)
{
first
.
add
(
back
,
BorderLayout
.
WEST
);
}
}
for
(
JButton
button
:
UIUtil
.
findComponentsOfType
(
main
,
JButton
.
class
))
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help