summaryrefslogtreecommitdiff
path: root/src/gui/windows/selldialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/selldialog.h')
-rw-r--r--src/gui/windows/selldialog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/windows/selldialog.h b/src/gui/windows/selldialog.h
index 0cfffbf38..81aaabbb2 100644
--- a/src/gui/windows/selldialog.h
+++ b/src/gui/windows/selldialog.h
@@ -41,9 +41,9 @@ class Slider;
*
* \ingroup Interface
*/
-class SellDialog final : public Window,
- private ActionListener,
- private SelectionListener
+class SellDialog notfinal : public Window,
+ public ActionListener,
+ private SelectionListener
{
public:
/**
@@ -113,7 +113,7 @@ class SellDialog final : public Window,
*/
static void closeAll();
- private:
+ protected:
typedef std::list<SellDialog*> DialogList;
static DialogList instances;
@@ -122,6 +122,9 @@ class SellDialog final : public Window,
*/
void updateButtonsAndLabels();
+ virtual void sellAction(const ActionEvent &event A_UNUSED)
+ { }
+
std::string mNick;
Button *mSellButton;