projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Memory Editor is now more intuitive
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
mi
/
ActiveInstructionPreviewContentProvider.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ActiveInstructionPreviewContentProvider.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ActiveInstructionPreviewContentProvider.java
index
97fbd19
..
7078f9a
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ActiveInstructionPreviewContentProvider.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ActiveInstructionPreviewContentProvider.java
@@
-56,7
+56,7
@@
public class ActiveInstructionPreviewContentProvider implements InstructionTable
@Override
public void updateElement(int index)
{
@Override
public void updateElement(int index)
{
- if (activeRow != null)
+ if (activeRow != null
&& !viewer.getControl().isDisposed()
)
viewer.replace(activeRow, index);
}
}
viewer.replace(activeRow, index);
}
}