2010-06-30 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Fixed: right-button-press was clearing selection.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-06-30 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
|
||||
! Fixed: right-button-press was clearing selection.
|
||||
|
||||
2010-06-30 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* external/bzip2/Makefile
|
||||
- Deleted now not needed old URL tag.
|
||||
|
||||
@@ -732,15 +732,18 @@ void HBQPlainTextEdit::mousePressEvent( QMouseEvent *event )
|
||||
}
|
||||
else
|
||||
{
|
||||
setCursorWidth( 1 );
|
||||
if( ! isSelectionPersistent )
|
||||
if( event->buttons() & Qt::LeftButton )
|
||||
{
|
||||
selectionState = 0;
|
||||
hbClearSelection();
|
||||
}
|
||||
else
|
||||
{
|
||||
selectionState = 1;
|
||||
setCursorWidth( 1 );
|
||||
if( ! isSelectionPersistent )
|
||||
{
|
||||
selectionState = 0;
|
||||
hbClearSelection();
|
||||
}
|
||||
else
|
||||
{
|
||||
selectionState = 1;
|
||||
}
|
||||
}
|
||||
QPlainTextEdit::mousePressEvent( event );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user