From d30a3a550818d4d8d2c5cf4ff5ff95c52e6a1451 Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Mon, 8 May 2000 04:00:48 +0000 Subject: [PATCH] forgot to initialize this --- content/base/src/nsSelection.cpp | 1 + layout/base/src/nsSelection.cpp | 1 + layout/generic/nsSelection.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/content/base/src/nsSelection.cpp b/content/base/src/nsSelection.cpp index 451a83c71906..3ba42a561324 100644 --- a/content/base/src/nsSelection.cpp +++ b/content/base/src/nsSelection.cpp @@ -781,6 +781,7 @@ nsSelection::nsSelection() if (mDomSelections[index]) autoCopyService->Listen(mDomSelections[index]); } + mDisplaySelection = nsISelectionController::SELECTION_ON; } diff --git a/layout/base/src/nsSelection.cpp b/layout/base/src/nsSelection.cpp index 451a83c71906..3ba42a561324 100644 --- a/layout/base/src/nsSelection.cpp +++ b/layout/base/src/nsSelection.cpp @@ -781,6 +781,7 @@ nsSelection::nsSelection() if (mDomSelections[index]) autoCopyService->Listen(mDomSelections[index]); } + mDisplaySelection = nsISelectionController::SELECTION_ON; } diff --git a/layout/generic/nsSelection.cpp b/layout/generic/nsSelection.cpp index 451a83c71906..3ba42a561324 100644 --- a/layout/generic/nsSelection.cpp +++ b/layout/generic/nsSelection.cpp @@ -781,6 +781,7 @@ nsSelection::nsSelection() if (mDomSelections[index]) autoCopyService->Listen(mDomSelections[index]); } + mDisplaySelection = nsISelectionController::SELECTION_ON; }