Commit db7c2222 authored by Baptiste Fournier's avatar Baptiste Fournier

fixed the addImage that did not update the canvas

parent 9a99c8a8
......@@ -32,6 +32,7 @@ public class MaFenetre extends JFrame implements KeyListener{
public void addImage(String path){
controller.newImage(path);
afficheur.update();
}
public void keyPressed(KeyEvent e){}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment