]> git.lyx.org Git - lyx.git/commit
Prevent crash when attempting to restore a file multiple times.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 6 Apr 2015 07:55:07 +0000 (09:55 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 6 Apr 2015 07:55:07 +0000 (09:55 +0200)
commitc46162db23c8ffef050669388750f07b41092ef2
tree96a592a709f2813a2325d057f7dc491cc350659d
parent29705851cb5ce30e7a5955dd4a907a13e001ae1c
Prevent crash when attempting to restore a file multiple times.

We currently cannot restore multiple views of the same buffer properly.
On the mac, we even crash.
So do not try it, record each file only once in the last opened list.

Fixes: #9483.
src/Session.cpp