summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-04 19:08:17 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-04 19:08:17 +0300
commit67bfe1259c7a819ef245289ecda935282e31e2f2 (patch)
tree121a011020ac732f606d2242ec45f374414719f6 /src/gui/widgets/guitable.h
parent7e8850e6879bbe95165ff4c163bf6c3d725d251a (diff)
downloadmv-67bfe1259c7a819ef245289ecda935282e31e2f2.tar.gz
mv-67bfe1259c7a819ef245289ecda935282e31e2f2.tar.bz2
mv-67bfe1259c7a819ef245289ecda935282e31e2f2.tar.xz
mv-67bfe1259c7a819ef245289ecda935282e31e2f2.zip
Fix crash with empty relations list.
Fix http://bugs.evolonline.org/view.php?id=43
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 38026d5ab..899379840 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -153,6 +153,8 @@ public:
// Constraints inherited from TableModelListener
virtual void modelUpdated(bool) override;
+ void requestFocus();
+
protected:
/** Frees all action listeners on inner widgets. */
virtual void uninstallActionListeners();