src/frontends/qt4/GuiSelection.cpp:

- use QClipboard::selectionChanged() signal instead of 
	  QClipboard::dataChanged() (bug 4147).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-12-13 09:03:18 +00:00
parent 37b594ac5f
commit 04f6c55ebd
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace frontend {
GuiSelection::GuiSelection()
: selection_supported_(qApp->clipboard()->supportsSelection())
{
connect(qApp->clipboard(), SIGNAL(dataChanged()),
connect(qApp->clipboard(), SIGNAL(selectionChanged()),
this, SLOT(on_dataChanged()));
// initialize clipboard status.
on_dataChanged();

View File

@ -185,6 +185,8 @@ What's new
- Fix undo in tabulars after inserting a file via Insert->File->Plain Text...
- Fix middle-mouse paste from other apps into LyX (bug 4147).
- Repair wasy font such that it can also be used on Mac (bug 2326).
- Fix color of some math symbols (bug 2330).