summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Schwarzer <[email protected]>2018-01-10 21:56:15 +0100
committerFrederik Schwarzer <[email protected]>2018-01-10 21:56:15 +0100
commitefe66b9b375161a5e66a3721b7e3e50402608e93 (patch)
tree46b312ffa30684fdb00948b64430eef0d58649a7
parent53777d02d81d8ada770c69f87445ee0f19dc1896 (diff)
Only return true if loading suceeded
-rw-r--r--src/board.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board.cpp b/src/board.cpp
index f143b75..5e3f718 100644
--- a/src/board.cpp
+++ b/src/board.cpp
@@ -139,8 +139,8 @@ bool Board::loadTileset(QString const & pathToTileset)
Prefs::setTileSet(pathToTileset);
Prefs::self()->save();
resizeBoard();
+ return true;
}
- return true;
}
//Try default
if (m_tiles.loadDefault()) {