Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
75a5dfec
Kaydet (Commit)
75a5dfec
authored
Kas 13, 2015
tarafından
Samuel Mehrbrodt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#86886 Shortcut keys missing in undo and redo tooltips
Change-Id: I8df003bdad4430a174815ce51197b997717ef379
üst
2af4da0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lboxctrl.hxx
include/svx/lboxctrl.hxx
+1
-1
lboxctrl.cxx
svx/source/tbxctrls/lboxctrl.cxx
+3
-3
No files found.
include/svx/lboxctrl.hxx
Dosyayı görüntüle @
75a5dfec
...
...
@@ -56,7 +56,7 @@ public:
class
SVX_DLLPUBLIC
SvxUndoRedoControl
:
public
SvxListBoxControl
{
std
::
vector
<
OUString
>
aUndoRedoList
;
OUString
aDefaultT
ext
;
OUString
aDefaultT
ooltip
;
public
:
SFX_DECL_TOOLBOX_CONTROL
();
...
...
svx/source/tbxctrls/lboxctrl.cxx
Dosyayı görüntüle @
75a5dfec
...
...
@@ -224,7 +224,7 @@ SvxUndoRedoControl::SvxUndoRedoControl( sal_uInt16 nSlotId, sal_uInt16 nId, Tool
{
rTbx
.
SetItemBits
(
nId
,
ToolBoxItemBits
::
DROPDOWN
|
rTbx
.
GetItemBits
(
nId
)
);
rTbx
.
Invalidate
();
aDefaultT
ext
=
MnemonicGenerator
::
EraseAllMnemonicChars
(
rTbx
.
GetItemText
(
nId
)
);
aDefaultT
ooltip
=
rTbx
.
GetQuickHelpText
(
nId
);
}
SvxUndoRedoControl
::~
SvxUndoRedoControl
()
...
...
@@ -239,13 +239,13 @@ void SvxUndoRedoControl::StateChanged(
if
(
eState
==
SfxItemState
::
DISABLED
)
{
ToolBox
&
rBox
=
GetToolBox
();
rBox
.
SetQuickHelpText
(
GetId
(),
aDefaultT
ext
);
rBox
.
SetQuickHelpText
(
GetId
(),
aDefaultT
ooltip
);
}
else
if
(
pState
&&
dynamic_cast
<
const
SfxStringItem
*>
(
pState
)
!=
nullptr
)
{
const
SfxStringItem
&
rItem
=
*
static_cast
<
const
SfxStringItem
*>
(
pState
);
ToolBox
&
rBox
=
GetToolBox
();
OUString
aQuickHelpText
=
MnemonicGenerator
::
EraseAllMnemonicChars
(
rItem
.
GetValue
()
);
OUString
aQuickHelpText
=
rItem
.
GetValue
(
);
rBox
.
SetQuickHelpText
(
GetId
(),
aQuickHelpText
);
}
SvxListBoxControl
::
StateChanged
(
nSID
,
eState
,
pState
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment