mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Stop SendFile and Call buttons swapping places on file upload
This commit is contained in:
parent
b6751ab01e
commit
1402732b5f
1 changed files with 2 additions and 2 deletions
|
@ -633,7 +633,7 @@ TextInputWidget::showUploadSpinner()
|
||||||
topLayout_->removeWidget(sendFileBtn_);
|
topLayout_->removeWidget(sendFileBtn_);
|
||||||
sendFileBtn_->hide();
|
sendFileBtn_->hide();
|
||||||
|
|
||||||
topLayout_->insertWidget(0, spinner_);
|
topLayout_->insertWidget(1, spinner_);
|
||||||
spinner_->start();
|
spinner_->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -641,7 +641,7 @@ void
|
||||||
TextInputWidget::hideUploadSpinner()
|
TextInputWidget::hideUploadSpinner()
|
||||||
{
|
{
|
||||||
topLayout_->removeWidget(spinner_);
|
topLayout_->removeWidget(spinner_);
|
||||||
topLayout_->insertWidget(0, sendFileBtn_);
|
topLayout_->insertWidget(1, sendFileBtn_);
|
||||||
sendFileBtn_->show();
|
sendFileBtn_->show();
|
||||||
spinner_->stop();
|
spinner_->stop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue