Commit efe66b9b authored by Frederik Schwarzer's avatar Frederik Schwarzer

Only return true if loading suceeded

parent 53777d02
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment