projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Transferred the simple build instructions into the README
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
memory
/
MemoryTableContentProvider.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java
index
aaecc75
..
95d1835
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java
@@
-74,6
+74,7
@@
public class MemoryTableContentProvider implements ILazyContentProvider, MemoryO
@Override
public void update(long address)
{
@Override
public void update(long address)
{
- Display.getDefault().asyncExec(() -> updateElement((int) (address - lower)));
+ // TODO check if viewer.refresh() does what we expect
+ Display.getDefault().asyncExec(address == -1 ? viewer::refresh : () -> updateElement((int) (address - lower)));
}
}
}
}