mirror of
https://github.com/transmission/transmission
synced 2025-03-01 01:05:36 +00:00
(qt) #5270 'Details > Comment field loses selection': fixed
This commit is contained in:
parent
5dab28ee9c
commit
95541c4ebe
1 changed files with 4 additions and 2 deletions
|
@ -632,8 +632,10 @@ Details :: refresh ()
|
|||
}
|
||||
}
|
||||
}
|
||||
myCommentBrowser->setText (string);
|
||||
myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX);
|
||||
if (myCommentBrowser->toPlainText() != string) {
|
||||
myCommentBrowser->setText (string);
|
||||
myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX);
|
||||
}
|
||||
|
||||
// myOriginLabel
|
||||
if (torrents.empty ())
|
||||
|
|
Loading…
Reference in a new issue