summaryrefslogtreecommitdiff
path: root/src/gui/table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/table.cpp')
-rw-r--r--src/gui/table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/table.cpp b/src/gui/table.cpp
index 1ee9da0f..8dd546d9 100644
--- a/src/gui/table.cpp
+++ b/src/gui/table.cpp
@@ -185,7 +185,7 @@ int GuiTable::getColumnWidth(int i)
void GuiTable::setSelectedRow(int selected)
{
- if (mModel == NULL)
+ if (!mModel)
{
mSelectedRow = -1;
}
@@ -213,7 +213,7 @@ void GuiTable::setSelectedRow(int selected)
void GuiTable::setSelectedColumn(int selected)
{
- if (mModel == NULL)
+ if (!mModel)
{
mSelectedColumn = -1;
}