Merge pull request #1767 from SiboVG/issue-1574

[#1574] Update PhotoPanel configuration on document change
This commit is contained in:
Sibo Van Gool 2022-10-28 21:09:05 +02:00 committed by GitHub
commit a590219e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}