mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Add comment.
The reason we don't need to do what I say we don't need to do is that a given counter doesn't really care about whether it has a master. It's when the master is stepped that we check for which other ones to reset. So if the master doesn't exist, nothing will happen, anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37197 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
874e867953
commit
1ff710d0b6
@ -296,6 +296,9 @@ void Counters::reset(docstring const & match)
|
||||
|
||||
bool Counters::remove(docstring const & cnt)
|
||||
{
|
||||
// NOTE It might be worth trying to remove this counter
|
||||
// as "master" for any counter that declares it, but we
|
||||
// don't actually need to do so.
|
||||
return counterList_.erase(cnt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user