Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
07119460
authored
Aug 02, 2016
by
Fernando Martínez Santiago
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug uploading img from offline to online fixed
parent
fe69eda6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
android/Pictogram/app/src/main/java/com/yottacode/pictogram/net/PictoUploader.java
android/Pictogram/app/src/main/java/com/yottacode/pictogram/net/PictoUploader.java
View file @
07119460
...
...
@@ -195,9 +195,9 @@ public class PictoUploader {
GUITools
.
show_alert
(
context
,
R
.
string
.
upload_error
,
PictoUploader
.
this
.
picto
.
get_translation
());
if
(
elements_uploaded
==
2
)
{
PictoUploader
.
this
.
picto
.
update_id
(
img_id
);
PCBcontext
.
getPcbdb
().
deletePicto
(
local_img_id
);
PictoUploader
.
this
.
picto
.
delete_bitmap
(
PCBcontext
.
getContext
());
PictoUploader
.
this
.
picto
.
update_id
(
img_id
);
PCBcontext
.
getRoom
().
emit
(
new
VocabularyAction
(
VocabularyAction
.
ADD
,
PictoUploader
.
this
.
picto
));
GUITools
.
show_alert
(
context
,
R
.
string
.
upload_ok
,
PictoUploader
.
this
.
picto
.
get_translation
()+
":"
+
PictoUploader
.
this
.
picto
.
get_id
());
}
...
...
@@ -232,6 +232,7 @@ public class PictoUploader {
public
void
preExecute
()
{
}
@Override
public
void
result
(
JSONArray
result
)
{
}
...
...
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