I don't see why we hide 'select all' if there is no insert symbol dialog
Change-Id: I928c94e104009e880c46100bdb57926f1a006877
This commit is contained in:
@@ -1985,7 +1985,6 @@ void Edit::Command( const CommandEvent& rCEvt )
|
|||||||
bool bAllSelected = maSelection.Min() == 0 && maSelection.Max() == maText.getLength();
|
bool bAllSelected = maSelection.Min() == 0 && maSelection.Max() == maText.getLength();
|
||||||
pPopup->EnableItem(pPopup->GetItemId("selectall"), !bAllSelected);
|
pPopup->EnableItem(pPopup->GetItemId("selectall"), !bAllSelected);
|
||||||
pPopup->ShowItem(pPopup->GetItemId("specialchar"), pImplFncGetSpecialChars);
|
pPopup->ShowItem(pPopup->GetItemId("specialchar"), pImplFncGetSpecialChars);
|
||||||
pPopup->ShowItem(pPopup->GetItemId("selectall"), pImplFncGetSpecialChars);
|
|
||||||
|
|
||||||
mbActivePopup = true;
|
mbActivePopup = true;
|
||||||
Selection aSaveSel = GetSelection(); // if someone changes selection in Get/LoseFocus, e.g. URL bar
|
Selection aSaveSel = GetSelection(); // if someone changes selection in Get/LoseFocus, e.g. URL bar
|
||||||
|
@@ -850,7 +850,6 @@ void TextWindow::Command( const CommandEvent& rCEvt )
|
|||||||
pPopup->EnableItem(pPopup->GetItemId("specialchar"), bEnableSpecialChar);
|
pPopup->EnableItem(pPopup->GetItemId("specialchar"), bEnableSpecialChar);
|
||||||
pPopup->EnableItem(pPopup->GetItemId("undo"), bEnableUndo);
|
pPopup->EnableItem(pPopup->GetItemId("undo"), bEnableUndo);
|
||||||
pPopup->ShowItem(pPopup->GetItemId("specialchar"), !Edit::GetGetSpecialCharsFunction());
|
pPopup->ShowItem(pPopup->GetItemId("specialchar"), !Edit::GetGetSpecialCharsFunction());
|
||||||
pPopup->ShowItem(pPopup->GetItemId("selectall"), !Edit::GetGetSpecialCharsFunction());
|
|
||||||
|
|
||||||
mbActivePopup = true;
|
mbActivePopup = true;
|
||||||
Point aPos = rCEvt.GetMousePosPixel();
|
Point aPos = rCEvt.GetMousePosPixel();
|
||||||
|
Reference in New Issue
Block a user