diff options
-rw-r--r-- | src/gui/widgets/guitable.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/guitable.h | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 96aabc873..2de077f62 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -186,11 +186,6 @@ int GuiTable::getSelectedColumn() const return mSelectedColumn; } -void GuiTable::setLinewiseSelection(const bool linewise) -{ - mLinewiseMode = linewise; -} - int GuiTable::getRowHeight() const { if (mModel) diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index fdc089721..c8f82d3cc 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -107,7 +107,10 @@ public: * * \param linewise: Whether to enable linewise selection mode */ - void setLinewiseSelection(bool linewise); + void setLinewiseSelection(bool linewise) + { + mLinewiseMode = linewise; + } // Inherited from Widget void draw(gcn::Graphics* graphics) override; |