summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-02 01:21:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-02 01:21:01 +0300
commitd4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa (patch)
tree5d015150f676742ade0613f29c438079bbe223ca /src/gui/widgets/browserbox.h
parent5628da8ff17266f9bf7d5830a5e32270be31afe4 (diff)
downloadmanaplus-d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa.tar.gz
manaplus-d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa.tar.bz2
manaplus-d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa.tar.xz
manaplus-d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa.zip
Add hasRows to chattab class.
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 2bdf31237..6fdb40042 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -185,6 +185,9 @@ class BrowserBox : public gcn::Widget,
TextRows &getRows()
{ return mTextRows; }
+ bool hasRows()
+ { return !mTextRows.empty(); }
+
void setAlwaysUpdate(bool n)
{ mAlwaysUpdate = n; }