- Timestamp:
- 25/01/12 12:10:19 (4 months ago)
- Files:
-
- 1 modified
-
branches/e4fix/EDIT4/ED4_ProteinViewer.cxx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/e4fix/EDIT4/ED4_ProteinViewer.cxx
r8337 r8339 370 370 371 371 int dispAtCursor = root->awar(AWAR_PV_CURSOR)->read_int(); 372 if (dispAtCursor) 373 { 374 // Display Only Terminals Corresponding To The Cursor Position in the multiple alignment 375 ED4_cursor *cursor = ¤t_cursor(); 376 if (cursor->owner_of_cursor) { 372 if (dispAtCursor) { 373 // only display terminals for species at cursor 374 if (ED4_ROOT->get_most_recently_used_window()) { 375 ED4_MostRecentWinContext context; 376 377 ED4_cursor& cursor = current_cursor(); 378 if (cursor.owner_of_cursor) { 377 379 // Get The Cursor Terminal And The Corresponding Aa_Sequence Terminals And Set The Display Options 378 ED4_terminal *cursorTerminal = cursor ->owner_of_cursor->to_terminal();380 ED4_terminal *cursorTerminal = cursor.owner_of_cursor->to_terminal(); 379 381 if (!cursorTerminal->parent->parent->flag.is_consensus) { 380 382 for (int i=0; i<PV_AA_Terminals4Species; i++) { … … 391 393 } 392 394 } 395 } 393 396 } 394 397
