mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Remember navigate back bookmark through sessions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
abcdc1a321
commit
35058f35a9
@ -278,7 +278,7 @@ void BookmarksSection::read(istream & is)
|
||||
void BookmarksSection::write(ostream & os) const
|
||||
{
|
||||
os << '\n' << sec_bookmarks << '\n';
|
||||
for (size_t i = 1; i <= max_bookmarks; ++i) {
|
||||
for (size_t i = 0; i <= max_bookmarks; ++i) {
|
||||
if (isValid(i))
|
||||
os << i << ", "
|
||||
<< bookmarks[i].bottom_pit << ", "
|
||||
|
Loading…
Reference in New Issue
Block a user