summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/button.cpp2
-rw-r--r--src/gui/widgets/setupitem.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 10a64a3d3..b430dfebb 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -447,5 +447,5 @@ void Button::adjustSize()
void Button::setCaption(const std::string& caption)
{
mCaption = caption;
- adjustSize();
+// adjustSize();
}
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 7c15ea785..b3a018813 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -47,6 +47,8 @@
#include <guichan/font.hpp>
+#include "debug.h"
+
SetupItem::SetupItem(std::string text, std::string description,
std::string keyName, SetupTabScroll *parent,
std::string eventName, bool mainConfig) :