Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
5cde68c6
Commit
5cde68c6
authored
Jun 11, 2019
by
Evan W. Patton
Committed by
Jeffrey Schiller
Jun 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exception when deleting extension with hidden components
Change-Id: Id3df87c907e20a3cc1241337a64594ca48c6ad29
parent
60a199df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/palette/YoungAndroidPalettePanel.java
...editor/youngandroid/palette/YoungAndroidPalettePanel.java
+3
-1
No files found.
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/palette/YoungAndroidPalettePanel.java
View file @
5cde68c6
...
@@ -316,7 +316,9 @@ public class YoungAndroidPalettePanel extends Composite implements SimplePalette
...
@@ -316,7 +316,9 @@ public class YoungAndroidPalettePanel extends Composite implements SimplePalette
public
void
removeComponent
(
String
componentTypeName
)
{
public
void
removeComponent
(
String
componentTypeName
)
{
String
categoryString
=
COMPONENT_DATABASE
.
getCategoryString
(
componentTypeName
);
String
categoryString
=
COMPONENT_DATABASE
.
getCategoryString
(
componentTypeName
);
ComponentCategory
category
=
ComponentCategory
.
valueOf
(
categoryString
);
ComponentCategory
category
=
ComponentCategory
.
valueOf
(
categoryString
);
removePaletteItem
(
simplePaletteItems
.
get
(
componentTypeName
),
category
);
if
(
simplePaletteItems
.
containsKey
(
componentTypeName
))
{
removePaletteItem
(
simplePaletteItems
.
get
(
componentTypeName
),
category
);
}
}
}
...
...
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