From: vsr Date: Thu, 25 Aug 2016 14:56:38 +0000 (+0300) Subject: 0053224: Preferences of python viewer X-Git-Tag: V8_1_0rc1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9bdcd07423395b5a6a007b43d55813ef1b41bbcf;p=modules%2Fgui.git 0053224: Preferences of python viewer --- diff --git a/src/Qtx/QtxFontEdit.cxx b/src/Qtx/QtxFontEdit.cxx index f0be9b552..29af733c5 100644 --- a/src/Qtx/QtxFontEdit.cxx +++ b/src/Qtx/QtxFontEdit.cxx @@ -134,7 +134,11 @@ QFont QtxFontEdit::currentFont() const */ void QtxFontEdit::setCurrentFont( const QFont& fnt ) { - myFamily->blockSignals( true ); + // VSR 25/08/2016: IPAL53224 + // blocking signals of QFontComboBox breaks its internal business logic + // that prevents correct retrieving of available sizes for the font in case + // when some non-existent font is replaced by its closest analogue + //myFamily->blockSignals( true ); myCustomFams->blockSignals( true ); mySize->blockSignals( true ); myB->blockSignals( true ); @@ -148,7 +152,7 @@ void QtxFontEdit::setCurrentFont( const QFont& fnt ) ( fnt.underline() ? Underline : 0 ) | ( fnt.overline() ? Shadow : 0 ) ); - myFamily->blockSignals( false ); + //myFamily->blockSignals( false ); myCustomFams->blockSignals( false ); mySize->blockSignals( false ); myB->blockSignals( false );