Changeset 13940


Ignore:
Timestamp:
Feb 3, 2013, 6:36:10 PM (8 years ago)
Author:
jordan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/details.cc

    r13893 r13940  
    633633        }
    634634    }
    635     myCommentBrowser->setText (string);
    636     myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX);
     635    if (myCommentBrowser->toPlainText() != string) {
     636      myCommentBrowser->setText (string);
     637      myCommentBrowser->setMaximumHeight (QWIDGETSIZE_MAX);
     638    }
    637639
    638640    // myOriginLabel
Note: See TracChangeset for help on using the changeset viewer.