mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix bug (which is actually why aliasing was menu'd in the first place)
This commit is contained in:
parent
845216fa2f
commit
6831778371
|
@ -129,8 +129,9 @@ void CroppingLabel::hideTextEdit(bool acceptText)
|
|||
{
|
||||
if (acceptText)
|
||||
{
|
||||
emit textChanged(textEdit->text(), origText);
|
||||
setText(textEdit->text());
|
||||
QString oldOrigText = origText;
|
||||
setText(textEdit->text()); // set before emitting so we don't override external reactions to signal
|
||||
emit textChanged(textEdit->text(), oldOrigText);
|
||||
}
|
||||
|
||||
textEdit->hide();
|
||||
|
|
Loading…
Reference in New Issue
Block a user