Fix bug 5946: Infinite loop when opening file with two files opened with the same...
commite47aa300d257cceddd5602d5553852cc253a79b3
authorspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Tue, 11 Aug 2009 12:34:06 +0000 (11 12:34 +0000)
committerspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Tue, 11 Aug 2009 12:34:06 +0000 (11 12:34 +0000)
tree119105f8764b77822b9bb7c05ed38eecceed6d23
parentd276781ad0db3496dc30f7c14dca99dd64bacc42
Fix bug 5946: Infinite loop when opening file with two files opened with the same name

This simply changes the appearance of the display path (in the tab header) in one detail: if the file suffix is not "lyx" (but "lyx15" etc.), the file is displayed with the extension. This fixes the problem (which is due to identical display paths), and it adds, IMHO, useful information to the GUI.

Patch reviewed by vfr.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30977 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiWorkArea.cpp