summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r--src/gui/widgets/guitable.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 9f0dc47e3..d661e23df 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -92,9 +92,10 @@ void GuiTableActionListener::action(const gcn::ActionEvent
}
-GuiTable::GuiTable(TableModel *const initial_model, const bool opacity) :
+GuiTable::GuiTable(const Widget2 *const widget,
+ TableModel *const initial_model, const bool opacity) :
gcn::Widget(),
- Widget2(),
+ Widget2(widget),
gcn::MouseListener(),
gcn::KeyListener(),
mLinewiseMode(false),