summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-08-17 17:42:06 -0400
committertrilene <trilene@runbox.com>2020-08-17 17:42:06 -0400
commit1402732b5ffec7446edb5c06c9b7004a480b987b (patch)
treee3d3f52ed60035161003cf91b46d601f67833ec7 /src/TextInputWidget.cpp
parentAppease the linter (diff)
downloadnheko-1402732b5ffec7446edb5c06c9b7004a480b987b.tar.xz
Stop SendFile and Call buttons swapping places on file upload
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index a3392170..633b12ba 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -633,7 +633,7 @@ TextInputWidget::showUploadSpinner() topLayout_->removeWidget(sendFileBtn_); sendFileBtn_->hide(); - topLayout_->insertWidget(0, spinner_); + topLayout_->insertWidget(1, spinner_); spinner_->start(); } @@ -641,7 +641,7 @@ void TextInputWidget::hideUploadSpinner() { topLayout_->removeWidget(spinner_); - topLayout_->insertWidget(0, sendFileBtn_); + topLayout_->insertWidget(1, sendFileBtn_); sendFileBtn_->show(); spinner_->stop(); }