summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-29 01:32:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-29 01:32:53 +0300
commit6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c (patch)
treeaf9a98a5f55bd9e180d4ed1b09eb261720745e95 /src/gui/widgets/setupitem.h
parent6427fbb2b35b113965c4d3c9470cced433a70c6d (diff)
downloadplus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.gz
plus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.bz2
plus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.xz
plus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.zip
Fix screenshot directory saving/loading.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 91547733f..689f62fdf 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -96,7 +96,7 @@ class SetupItem : public gcn::ActionListener,
void fixFirstItemSize(gcn::Widget *const widget);
- void rereadValue();
+ virtual void rereadValue();
void setValue(const std::string str)
{ mValue = str; }
@@ -214,6 +214,13 @@ class SetupItemTextField final : public SetupItem
void apply(const std::string &eventName) override final;
+ void cancel(const std::string &eventName A_UNUSED) override final;
+
+ void externalUpdated(const std::string &eventName A_UNUSED)
+ override final;
+
+ void rereadValue() override final;
+
void save() override final;
void setUseBase64(const bool b)