[Korganizer-devel] [Bug 118491] Cannot drag a new selection in a pre-existing section.
Sergio Martins (ld50)
iamsergio at gmail.com
Fri Jan 23 04:38:53 CET 2009
http://bugs.kde.org/show_bug.cgi?id=118491
Sergio Martins (ld50) iamsergio gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iamsergio at gmail.com
--- Comment #2 from Sergio Martins (ld50) <iamsergio gmail com> 2009-01-23 04:38:52 ---
I also agree, it's a bit counter-intuitive.
Still, there's a comment in the code that suggests that the actual behaviour
was done on purpose...
Index: views/agendaview/koagenda.cpp
===================================================================
--- views/agendaview/koagenda.cpp (revision 915399)
+++ views/agendaview/koagenda.cpp (working copy)
@@ -636,14 +636,11 @@
}
showNewEventPopupSignal();
} else {
- // if mouse pointer is in selection, don't change selection
QPoint gpos = contentsToGrid( viewportToContents( viewportPos ) );
- if ( !ptInSelection( gpos ) ) {
- selectItem( 0 );
- mActionItem = 0;
- setCursor( Qt::ArrowCursor );
- startSelectAction( viewportPos );
- }
+ selectItem( 0 );
+ mActionItem = 0;
+ setCursor( Qt::ArrowCursor );
+ startSelectAction( viewportPos );
}
}
break;
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Korganizer-devel
mailing list