diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 996d540db..bf94fb8ed 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5070,7 +5070,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b  				NotifyHotSpotClicked(newPos, shift, ctrl, alt);  			}  			if (!shift) { -				inDragDrop = PointInSelection(pt); +				inDragDrop = PointInSelection(pt) && !SelectionEmpty();  			}  			if (inDragDrop) {  				SetMouseCapture(false); @@ -5223,7 +5223,7 @@ void Editor::ButtonMove(Point pt) {  			}  		}  		// Display regular (drag) cursor over selection -		if (PointInSelection(pt)) { +		if (PointInSelection(pt) && !SelectionEmpty()) {  			DisplayCursor(Window::cursorArrow);  		} else if (PointIsHotspot(pt)) {  			DisplayCursor(Window::cursorHand);  | 
