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
5d19f429
Kaydet (Commit)
5d19f429
authored
Nis 13, 2013
tarafından
Rafael Dominguez
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Down-arrow jump to last item when there is no item immediately below.
Change-Id: I23f5f002826e2ecc25ff19d18372cb637feb1310
üst
53f7f398
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
thumbnailview.cxx
sfx2/source/control/thumbnailview.cxx
+16
-3
No files found.
sfx2/source/control/thumbnailview.cxx
Dosyayı görüntüle @
5d19f429
...
@@ -564,10 +564,23 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
...
@@ -564,10 +564,23 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
break
;
break
;
case
KEY_DOWN
:
case
KEY_DOWN
:
{
{
if
(
bFoundLast
&&
nLastPos
<
mFilteredItemList
.
size
(
)
-
mnCols
)
if
(
bFoundLast
)
{
{
bValidRange
=
true
;
//If we are in the second last row just go the one in
nNextPos
=
nLastPos
+
mnCols
;
//the row below, if theres not row below just go to the
//last item but for the last row dont do anything.
if
(
nLastPos
<
mFilteredItemList
.
size
(
)
-
mnCols
)
{
bValidRange
=
true
;
nNextPos
=
nLastPos
+
mnCols
;
}
else
{
int
curRow
=
nLastPos
/
mnCols
;
if
(
curRow
<
mnLines
-
1
)
nNextPos
=
mFilteredItemList
.
size
()
-
1
;
}
}
}
pNext
=
mFilteredItemList
[
nNextPos
];
pNext
=
mFilteredItemList
[
nNextPos
];
...
...
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