~tapaal-contributor/tapaal/change-export-batch-shortcut-1820012

« back to all changes in this revision

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

  • Committer: Kenneth Yrke Jørgensen
  • Date: 2019-03-13 07:17:48 UTC
  • mfrom: (989 tapaal)
  • mto: This revision was merged to the branch mainline in revision 991.
  • Revision ID: kenneth@yrke.dk-20190313071748-fm6dc00yy27un3xd
Merged with trunk

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