projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ea132
)
fixed bug with not updating element list after copy or exchange of CE
author
Holger Schemel
<info@artsoft.org>
Thu, 26 Jan 2017 09:13:15 +0000
(10:13 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 26 Jan 2017 09:13:15 +0000
(10:13 +0100)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 48e6feb0b41bed5abdcba92af917cd2d3e2173b1..6aa8b8d67222e6ede4a6641b5fc1eaac425fe987 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-9309,11
+9309,9
@@
static void DrawPaletteWindow()
static void UpdateCustomElementGraphicGadgets()
{
- struct ElementInfo *ei = &element_info[properties_element];
int i;
- ei->gfx_element = (ei->use_gfx_element ? ei->gfx_element_initial :
- properties_element);
+ InitElementPropertiesGfxElement();
ModifyEditorElementList();
RedrawDrawingElements();