summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index da0eadfec..e7302e527 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -77,12 +77,12 @@ public:
~IconsModal()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return static_cast<int>(mStrings.size());
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i < 0 || i >= getNumberOfElements())
return "???";
@@ -125,12 +125,12 @@ public:
~TargetTypeModel()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return 3;
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i >= getNumberOfElements() || i < 0)
return "???";
@@ -144,12 +144,12 @@ public:
~MagicSchoolModel()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return 6;
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i >= getNumberOfElements() || i < 0)
return "???";