From 0ee70e17d95f04242d4070c87371f58467bfba36 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 14 Sep 2006 20:10:34 +0000 Subject: [PATCH] make sure we show the start of our sequence name fixes ticket:128 --- alg/sequence.cpp | 2 +- qui/seqbrowser/SequenceDescription.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); } } -- 2.30.2