summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-10-01 11:41:31 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-01 11:41:31 (GMT)
commit134a59609d5ae9b369683cadd603674fb19a94f0 (patch)
treef71f3ffcd5c9fa2beaf238d706e7a6312d68ce99 /src/preview/PreviewView.cpp
parent98faf2b19217e86600bdc979be69df15a52d7cc7 (diff)
downloadpowder-134a59609d5ae9b369683cadd603674fb19a94f0.zip
powder-134a59609d5ae9b369683cadd603674fb19a94f0.tar.gz
Collapse comment box after sending comment
Diffstat (limited to 'src/preview/PreviewView.cpp')
-rw-r--r--src/preview/PreviewView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preview/PreviewView.cpp b/src/preview/PreviewView.cpp
index 7e824e1..41a80bd 100644
--- a/src/preview/PreviewView.cpp
+++ b/src/preview/PreviewView.cpp
@@ -438,6 +438,8 @@ void PreviewView::submitComment()
addCommentBox->SetPlaceholder("Add comment");
submitCommentButton->Enabled = true;
+
+ commentBoxAutoHeight();
}
}