mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Martin's BranchList fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8162 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ba7f0c43f
commit
835002e272
@ -98,9 +98,12 @@ void BranchList::setSelected(string const & s, bool val)
|
||||
List::iterator it = list.begin();
|
||||
List::iterator end = list.end();
|
||||
for (; it != end; ++it) {
|
||||
if (s.find(it->getBranch(), 0) != string::npos)
|
||||
if (s == it->getBranch()) {
|
||||
it->setSelected(val);
|
||||
return;
|
||||
}
|
||||
}
|
||||
BOOST_ASSERT(false);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* BranchList.C: fix setSelected() method.
|
||||
|
||||
2003-11-28 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user