From: Diane Trout Date: Thu, 14 Sep 2006 20:10:34 +0000 (+0000) Subject: make sure we show the start of our sequence name X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=0ee70e17d95f04242d4070c87371f58467bfba36 make sure we show the start of our sequence name fixes ticket:128 --- diff --git a/alg/sequence.cpp b/alg/sequence.cpp index 64bbfbd..0b7fb0e 100644 --- a/alg/sequence.cpp +++ b/alg/sequence.cpp @@ -654,9 +654,9 @@ Sequence::size_type Sequence::length() const { return size(); } + void Sequence::save(fs::fstream &save_file) - //std::string save_file_path) { //fstream save_file; std::list::iterator annots_i; diff --git a/qui/seqbrowser/SequenceDescription.cpp b/qui/seqbrowser/SequenceDescription.cpp index 80dfa8f..8bf36e6 100644 --- a/qui/seqbrowser/SequenceDescription.cpp +++ b/qui/seqbrowser/SequenceDescription.cpp @@ -67,6 +67,7 @@ void SequenceDescription::setName(const QString& name_) // no need to setText again if its because of user editing if (name_ != name_label.text()) { name_label.setText(name_); + name_label.setCursorPosition(0); } }