mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
next compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
230d5fc648
commit
ff3b2b54f2
@ -1384,7 +1384,9 @@ void TabWorkArea::showBar(bool show)
|
|||||||
tabBar()->setEnabled(show);
|
tabBar()->setEnabled(show);
|
||||||
tabBar()->setVisible(show);
|
tabBar()->setVisible(show);
|
||||||
closeBufferButton->setVisible(show && lyxrc.single_close_tab_button);
|
closeBufferButton->setVisible(show && lyxrc.single_close_tab_button);
|
||||||
|
#if QT_VERSION >= 0x040500
|
||||||
setTabsClosable(!lyxrc.single_close_tab_button);
|
setTabsClosable(!lyxrc.single_close_tab_button);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user