summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 072563715..d41e5589b 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -158,6 +158,9 @@ public:
void requestFocus();
+ void setSelectable(bool b)
+ { mSelectable = b; }
+
protected:
/** Frees all action listeners on inner widgets. */
void uninstallActionListeners();
@@ -194,6 +197,7 @@ private:
bool mLinewiseMode;
bool mWrappingEnabled;
bool mOpaque;
+ bool mSelectable;
};
#endif // GUI_WIDGETS_GUITABLE_H