From ecb4befa546b21e0fa53b93e734bc3cabcf4f62b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 30 Jan 2017 13:16:59 +0000 Subject: I don't see why we hide 'select all' if there is no insert symbol dialog Change-Id: I928c94e104009e880c46100bdb57926f1a006877 --- vcl/source/control/edit.cxx | 1 - vcl/source/edit/vclmedit.cxx | 1 - 2 files changed, 2 deletions(-) diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 64046ecf87c1..b3a581e601b7 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1985,7 +1985,6 @@ void Edit::Command( const CommandEvent& rCEvt ) bool bAllSelected = maSelection.Min() == 0 && maSelection.Max() == maText.getLength(); pPopup->EnableItem(pPopup->GetItemId("selectall"), !bAllSelected); pPopup->ShowItem(pPopup->GetItemId("specialchar"), pImplFncGetSpecialChars); - pPopup->ShowItem(pPopup->GetItemId("selectall"), pImplFncGetSpecialChars); mbActivePopup = true; Selection aSaveSel = GetSelection(); // if someone changes selection in Get/LoseFocus, e.g. URL bar diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 9cc1a9063d26..40046b4f030c 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -850,7 +850,6 @@ void TextWindow::Command( const CommandEvent& rCEvt ) pPopup->EnableItem(pPopup->GetItemId("specialchar"), bEnableSpecialChar); pPopup->EnableItem(pPopup->GetItemId("undo"), bEnableUndo); pPopup->ShowItem(pPopup->GetItemId("specialchar"), !Edit::GetGetSpecialCharsFunction()); - pPopup->ShowItem(pPopup->GetItemId("selectall"), !Edit::GetGetSpecialCharsFunction()); mbActivePopup = true; Point aPos = rCEvt.GetMousePosPixel(); -- cgit