Skip to content

Commit

Permalink
3.1.1 - Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Dec 3, 2021
1 parent 8670928 commit ac1b507
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Widgets/UI.vala
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ namespace DotMatrix {
history_paths = null;
current_path = new Path ();
current_path.color = window.line_color_button.rgba;
window.undo_button.sensitive = false;
window.redo_button.sensitive = false;
da.queue_draw ();
dirty = false;
dialog.close ();
Expand All @@ -382,6 +384,8 @@ namespace DotMatrix {
history_paths = null;
current_path = new Path ();
current_path.color = window.line_color_button.rgba;
window.undo_button.sensitive = false;
window.redo_button.sensitive = false;
da.queue_draw ();
dialog.close ();
break;
Expand Down

0 comments on commit ac1b507

Please sign in to comment.