1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-01 09:15:35 +00:00

(qt) #5270 'Details > Comment field loses selection': fixed

This commit is contained in:
Jordan Lee 2013-02-03 18:36:10 +00:00
parent 5dab28ee9c
commit 95541c4ebe

View file

@ -632,8 +632,10 @@ Details :: refresh ()
} }
} }
} }
if (myCommentBrowser->toPlainText() != string) {
myCommentBrowser->setText (string); myCommentBrowser->setText (string);
myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX); myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX);
}
// myOriginLabel // myOriginLabel
if (torrents.empty ()) if (torrents.empty ())