]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To let python console text be white on dark theme, don't hard-code black V9_11_0a1 V9_11_0a2
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 27 Apr 2023 16:22:25 +0000 (18:22 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 27 Apr 2023 16:22:25 +0000 (18:22 +0200)
tools/PyConsole/src/PyConsole_Editor.cxx

index d3ffff9df7189ea391eb3a27f1eb1ec739d08934..ee70fbd9ceb22a8132563eecff8be60ef3540461 100644 (file)
@@ -369,8 +369,6 @@ void PyConsole_Editor::addText( const QString& str,
     aCursor.insertBlock();
   if ( isError )
     cf.setForeground( QBrush( Qt::red ) );
-  else
-    cf.setForeground( QBrush( Qt::black ) );
   aCursor.insertText( str, cf );
   moveCursor( QTextCursor::End );
   ensureCursorVisible();