mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix part 3 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the tabs, the longer name is shown as a tooltip. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37084 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4579492569
commit
a1f8d221c8
@ -1578,7 +1578,8 @@ GuiWorkArea * TabWorkArea::addWorkArea(Buffer & buffer, GuiView & view)
|
||||
// when hiding it again below).
|
||||
if (!(currentWorkArea() && currentWorkArea()->isFullScreen()))
|
||||
showBar(count() > 0);
|
||||
addTab(wa, wa->windowTitle());
|
||||
int const index = addTab(wa, wa->windowTitle());
|
||||
setTabToolTip(index, wa->windowTitle());
|
||||
QObject::connect(wa, SIGNAL(titleChanged(GuiWorkArea *)),
|
||||
this, SLOT(updateTabTexts()));
|
||||
if (currentWorkArea() && currentWorkArea()->isFullScreen())
|
||||
|
Loading…
Reference in New Issue
Block a user