[#1574] Update PhotoPanel configuration on document change

This commit is contained in:
SiboVG 2022-10-25 16:23:48 +02:00
parent 3f55f5c67d
commit 717d880063

View File

@ -99,6 +99,7 @@ public class PhotoPanel extends JPanel implements GLEventListener {
@Override
public void documentChanged(DocumentChangeEvent event) {
log.debug("Repainting on document change");
configuration = doc.getSelectedConfiguration();
needUpdate = true;
PhotoPanel.this.repaint();
}