~tapaal-contributor/tapaal/make-grid-reappear-on-export-tikz-cancel-1820016

« back to all changes in this revision

Viewing changes to src/pipe/gui/CreateGui.java

Merged bzr merge lp:~yrke/tapaal/placetransitionobjecthandler-refactor-cleanup cleanup 
after refactorings, removeing code and further refactorings

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
                TabContent tab = (tabs.get(index));
58
58
 
59
 
                //XXX: 2018-04-26//kyrke The following code should never be called, a TAB always has a driwingSurface,
60
 
                // if not seems wired to just create it.
61
 
                // Code left in place for history, in case we someday experience problems with this.
62
 
                // If no problems have been observed for some time, please remove the code and comment.
63
 
//              while (tab.drawingSurface() == null) {
64
 
//
65
 
//                      try {
66
 
//                              tab.setDrawingSurface(new DrawingSurfaceImpl(tab.getModel(),
67
 
//                                              tab));
68
 
//                      } catch (Exception e) {
69
 
//                              e.printStackTrace();
70
 
//                      }
71
 
//              }
72
 
 
73
59
                return tab.drawingSurface();
74
60
        }
75
61