I don't see why we hide 'select all' if there is no insert symbol dialog

Change-Id: I928c94e104009e880c46100bdb57926f1a006877
This commit is contained in:
Caolán McNamara
2017-01-30 13:16:59 +00:00
parent 13861216dc
commit ecb4befa54
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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();