From cceb9dcb6a0dad690f697a8603cdb7f5450fb7a7 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 19 Aug 2009 11:14:19 +0000 Subject: [PATCH] Issue 20453: [CEA] not take into account preferences --- src/SalomeApp/SalomeApp_Application.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index dddb815f4..d03b3ac60 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -866,6 +866,7 @@ QWidget* SalomeApp_Application::createWindow( const int flag ) { PyConsole_Console* pyCons = new PyConsole_Console( desktop(), new SalomeApp_PyInterp() ); pyCons->setWindowTitle( tr( "PYTHON_CONSOLE" ) ); + pyCons->setFont(resourceMgr()->fontValue( "PyConsole", "font" )); wid = pyCons; pyCons->resize( pyCons->width(), desktop()->height()/4 ); pyCons->connectPopupRequest( this, SLOT( onConnectPopupRequest( SUIT_PopupClient*, QContextMenuEvent* ) ) ); -- 2.39.2