From 1402732b5ffec7446edb5c06c9b7004a480b987b Mon Sep 17 00:00:00 2001 From: trilene Date: Mon, 17 Aug 2020 17:42:06 -0400 Subject: [PATCH] Stop SendFile and Call buttons swapping places on file upload --- src/TextInputWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp index a339217..633b12b 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(); }