mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix bug #5893: LyX closes hidden dirty buffers without asking.
Closing a tab group will now hide the buffers, but if buffers are dirty it will first ask you to save it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c694bbe6ea
commit
6e4ca1d18f
@ -2297,7 +2297,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
||||
|
||||
case LFUN_CLOSE_TAB_GROUP:
|
||||
if (TabWorkArea * twa = d.currentTabWorkArea()) {
|
||||
delete twa;
|
||||
closeTabWorkArea(twa, false);
|
||||
d.current_work_area_ = 0;
|
||||
twa = d.currentTabWorkArea();
|
||||
// Switch to the next GuiWorkArea in the found TabWorkArea.
|
||||
|
Loading…
Reference in New Issue
Block a user