Skip to content

Commit

Permalink
Issue #297 - fix hidden displays causing wrong selection in "displays…
Browse files Browse the repository at this point in the history
… menu"
  • Loading branch information
mickelson committed Feb 5, 2017
1 parent b4438a4 commit 2ef5a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fe_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ bool FeSettings::set_display( int index )
get_path( Layout, old_path, old_file );

if ( index < 0 )
m_current_search_index = m_current_display;
m_current_search_index = find_idx_in_vec( m_current_display, m_display_menu );

m_current_display = index;

Expand Down

0 comments on commit 2ef5a95

Please sign in to comment.