mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Prevent display of meaningless internal buffer title(s) to the user
(e.g., while entering text to find in the F&R WA, window title keeps showing the filename of the document where matches are searched for). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e674f6bdc6
commit
3f1c690723
@ -759,7 +759,8 @@ void GuiView::clearMessage()
|
||||
|
||||
void GuiView::updateWindowTitle(GuiWorkArea * wa)
|
||||
{
|
||||
if (wa != d.current_work_area_)
|
||||
if (wa != d.current_work_area_
|
||||
|| wa->bufferView().buffer().isInternal())
|
||||
return;
|
||||
setWindowTitle(qt_("LyX: ") + wa->windowTitle());
|
||||
setWindowIconText(wa->windowIconText());
|
||||
|
Loading…
Reference in New Issue
Block a user