Skip to content

Commit

Permalink
Error dialog: Make description widget to follow the same scheme as th…
Browse files Browse the repository at this point in the history
…e Editor
  • Loading branch information
ccordoba12 committed Oct 15, 2018
1 parent 269669b commit 16340f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions spyder/plugins/editor/widgets/codeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ def __init__(self, parent=None):
self.setObjectName('historylog')
elif 'configdialog' in plugin_name.lower():
self.setObjectName('configdialog')
elif 'errordialog' in plugin_name.lower():
self.setObjectName('errordialog')

# Caret (text cursor)
self.setCursorWidth( CONF.get('main', 'cursor/width') )
Expand Down
4 changes: 3 additions & 1 deletion spyder/widgets/reporterror.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from spyder import __project_url__, __trouble_url__
from spyder.config.base import _
from spyder.config.gui import get_font
from spyder.config.gui import CONF
from spyder.utils import icon_manager as ima
from spyder.utils.qthelpers import restore_keyevent
from spyder.widgets.github.backend import GithubBackend
Expand All @@ -46,7 +47,8 @@ def __init__(self, parent=None):
# Editor options
self.setup_editor(
language='md',
color_scheme='Scintilla',
color_scheme=CONF.get('color_schemes',
'selected'),
linenumbers=False,
scrollflagarea=False,
wrap=True,
Expand Down

0 comments on commit 16340f6

Please sign in to comment.