mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
TextEditor: Set wrapping and preview menus to correct defaults
This commit is contained in:
parent
5a03b326a7
commit
f9c1918484
1 changed files with 2 additions and 1 deletions
|
@ -487,12 +487,13 @@ TextEditorWidget::TextEditorWidget()
|
|||
wrapping_mode_menu.add_action(*m_wrap_anywhere_action);
|
||||
wrapping_mode_menu.add_action(*m_wrap_at_words_action);
|
||||
|
||||
m_wrap_anywhere_action->set_checked(true);
|
||||
m_no_wrapping_action->set_checked(true);
|
||||
|
||||
view_menu.add_separator();
|
||||
view_menu.add_action(*m_no_preview_action);
|
||||
view_menu.add_action(*m_markdown_preview_action);
|
||||
view_menu.add_action(*m_html_preview_action);
|
||||
m_no_preview_action->set_checked(true);
|
||||
view_menu.add_separator();
|
||||
|
||||
syntax_actions.set_exclusive(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue