[gitg/wip/commit] Clear diff when clearing model
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/commit] Clear diff when clearing model
- Date: Wed, 3 Jul 2013 16:53:28 +0000 (UTC)
commit 8f853723122253a23bf51966687d47100bd83318
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Jul 3 18:51:53 2013 +0200
Clear diff when clearing model
gitg/commit/gitg-commit.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index 9814497..ed6585a 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -228,6 +228,7 @@ namespace GitgCommit
}
model.clear();
+ d_main.diff_view.diff = null;
model.begin_header(_("Staged"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]