Changeset 13942 for branches


Ignore:
Timestamp:
Feb 3, 2013, 6:44:01 PM (9 years ago)
Author:
jordan
Message:

(2.7x) backport r13940 to fix bug #5270 in 2.7x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7x/qt/details.cc

    r13076 r13942  
    634634        }
    635635    }
    636     myCommentBrowser->setText( string );
    637     myCommentBrowser->setMaximumHeight( QWIDGETSIZE_MAX );
     636    if( myCommentBrowser->toPlainText() != string ) {
     637      myCommentBrowser->setText( string );
     638      myCommentBrowser->setMaximumHeight( QWIDGETSIZE_MAX );
     639    }
    638640
    639641    // myOriginLabel
Note: See TracChangeset for help on using the changeset viewer.