Add missing change from resolution of merge

Missed a change resolving merges for PhotoPanel.java

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
This commit is contained in:
Billy Olsen 2021-08-14 20:52:09 -07:00
parent c95d7df327
commit 31f52cec18

View File

@ -116,8 +116,18 @@ public class PhotoPanel extends JPanel implements GLEventListener {
});
}
void clearDoc() {
document.removeDocumentChangeListener(changeListener);
changeListener = null;
document = null;
}
PhotoSettings getSettings() {
return p;
}
PhotoPanel(OpenRocketDocument document, PhotoSettings p) {
this.p = p;
this.p = p;
this.setLayout(new BorderLayout());
PhotoPanel.this.configuration = document.getSelectedConfiguration();