projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed stupid bug causing NullPointerExceptions in GUIWire
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
LogicUIStandalone.java
diff --git
a/LogicUI/src/era/mi/gui/LogicUIStandalone.java
b/LogicUI/src/era/mi/gui/LogicUIStandalone.java
index
0bc5d8a
..
3079b50
100644
(file)
--- a/
LogicUI/src/era/mi/gui/LogicUIStandalone.java
+++ b/
LogicUI/src/era/mi/gui/LogicUIStandalone.java
@@
-30,7
+30,7
@@
public class LogicUIStandalone
display = new Display();
shell = new Shell(display);
shell.setLayout(new FillLayout());
display = new Display();
shell = new Shell(display);
shell.setLayout(new FillLayout());
- ui = new LogicUICanvas(shell, SWT.NONE);
+ ui = new LogicUICanvas(shell, SWT.NONE
, model
);
ZoomableCanvasUserInput userInput = new ZoomableCanvasUserInput(ui);
userInput.buttonDrag = 3;
ZoomableCanvasUserInput userInput = new ZoomableCanvasUserInput(ui);
userInput.buttonDrag = 3;