Skip to content
Snippets Groups Projects
Commit 720d4f45 authored by Allen, Bruce (CIV)'s avatar Allen, Bruce (CIV)
Browse files

do not show second view option when not visible

parent e5a022e6
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@ def make_code_editor_menu(preferences_manager, mp_code_view_1, mp_code_view_2):
mp_code_view_1.action_find_and_replace.setDisabled(
FindAndReplaceDialogWrapper.a_wrapper_instance_is_visible)
mp_code_view_2.action_find_and_replace.setDisabled(
FindAndReplaceDialogWrapper.a_wrapper_instance_is_visible)
FindAndReplaceDialogWrapper.a_wrapper_instance_is_visible
or not preferences_manager \
.action_use_code_editor_split_screen.isChecked())
menu = QMenu("&Code editor")
line_mode_menu = QMenu("Line mode", menu)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment