From 0a4f444503ca4e7b360df18b362454405ac8ebcb Mon Sep 17 00:00:00 2001 From: thilo Date: Wed, 15 Feb 2012 18:21:38 +0000 Subject: [PATCH] *neutrino menu: make setSelected()also usable if widget index is in use setSelected() had no effect with widget index git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2099 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/widget/menue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index c8b9228a7..07b9a8b81 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -456,8 +456,8 @@ class CMenuWidget : public CMenuTarget virtual void hide(); virtual int exec(CMenuTarget* parent, const std::string & actionKey); virtual std::string getName(); - virtual void setSelected(const int &Preselected){ preselected = Preselected; }; - virtual int getSelected(){ return selected; }; + void setSelected(const int &Preselected){ preselected = Preselected; }; + int getSelected(){ return selected; }; void move(int xoff, int yoff); int getSelectedLine(void){return exit_pressed ? -1 : selected;}; void setWizardMode(bool _from_wizard) { from_wizard = _from_wizard;};