Skip to content

Commit

Permalink
queue draw graph on set_document
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Dec 8, 2023
1 parent c657032 commit cedf857
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ impl Window {
document_signal_group.set_target(Some(document));

self.update_save_action();
self.queue_draw_graph();
}

fn document(&self) -> Document {
Expand Down Expand Up @@ -289,8 +290,6 @@ impl Window {
return Err(err);
}

self.queue_draw_graph();

Ok(())
}

Expand Down

0 comments on commit cedf857

Please sign in to comment.