diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-12 09:31:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-12 09:31:43 +0000 |
commit | 21ad413aad2c95947cd723073ba59ee3bf332c89 (patch) | |
tree | 58d26d0383480b8b18800ec7cd13a145213e5831 /svx | |
parent | df0b8665b5539eae1718eccd8250fe9b0a57d886 (diff) |
fix inability to interact with gallery theme list box
i.e. can't scroll it or select any entries
regression from 602c87b4259d118e5db6d8a990c4695103f916dd
Change-Id: I9c108cde6185332bc32284b0cafb63e36b048220
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 81632b074947..080ba5565251 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -90,7 +90,7 @@ void GalleryThemeListBox::DataChanged( const DataChangedEvent& rDCEvt ) bool GalleryThemeListBox::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = true; + bool bDone = false; if( rNEvt.GetType() == EVENT_COMMAND ) { @@ -104,10 +104,10 @@ bool GalleryThemeListBox::PreNotify( NotifyEvent& rNEvt ) const KeyEvent* pKEvt = rNEvt.GetKeyEvent(); if( pKEvt ) - nDone = static_cast< GalleryBrowser1* >( GetParent() )->KeyInput( *pKEvt, this ); + bDone = static_cast< GalleryBrowser1* >( GetParent() )->KeyInput( *pKEvt, this ); } - return( nDone || ListBox::PreNotify( rNEvt ) ); + return( bDone || ListBox::PreNotify( rNEvt ) ); } // - GalleryBrowser1 - |