mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Backport r30933
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30943 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce0c916b5c
commit
2b56aa6f2d
@ -38,6 +38,7 @@
|
||||
#include "BufferView.h"
|
||||
#include "Converter.h"
|
||||
#include "Cursor.h"
|
||||
#include "CutAndPaste.h"
|
||||
#include "Encoding.h"
|
||||
#include "ErrorList.h"
|
||||
#include "Format.h"
|
||||
@ -946,6 +947,8 @@ GuiWorkArea const * GuiView::currentWorkArea() const
|
||||
void GuiView::setCurrentWorkArea(GuiWorkArea * wa)
|
||||
{
|
||||
LASSERT(wa, return);
|
||||
if (view())
|
||||
cap::saveSelection(view()->cursor());
|
||||
d.current_work_area_ = wa;
|
||||
for (int i = 0; i != d.splitter_->count(); ++i) {
|
||||
if (d.tabWorkArea(i)->setCurrentWorkArea(wa))
|
||||
|
@ -317,6 +317,8 @@ What's new
|
||||
|
||||
- Remove the black box around the work area that is visible with qt4.5.
|
||||
|
||||
- Fix middle-button pasting between different tabs (bug 6056).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user