summaryrefslogtreecommitdiff
path: root/src/view.c
diff options
context:
space:
mode:
authorportix <none@none>2012-11-26 22:04:57 +0100
committerportix <none@none>2012-11-26 22:04:57 +0100
commit0086ae6b1982b960bdf2fcab3761e657dd9a897f (patch)
treeed48fc5b2280c5a3d2056a87325baddf056aa762 /src/view.c
parent462184c8329c3a4d7449cefaf798b6fe02e69817 (diff)
downloaddwb-0086ae6b1982b960bdf2fcab3761e657dd9a897f.zip
Update status bar if tab is closed, closing #240
Diffstat (limited to 'src/view.c')
-rw-r--r--src/view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view.c b/src/view.c
index fce39553..65b07984 100644
--- a/src/view.c
+++ b/src/view.c
@@ -1157,8 +1157,11 @@ view_remove(GList *gl) {
gtk_widget_hide(dwb.gui.topbox);
gtk_widget_show(CURRENT_VIEW()->scroll);
+
dwb_update_layout();
+ dwb_update_status_text(dwb.state.fview, NULL);
CLEAR_COMMAND_TEXT();
+
return STATUS_OK;
}/*}}}*/