Update the tile list right away if the image is replaced.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-08-06 17:40:39 +02:00
parent 20edb57761
commit 50b90f9774

View file

@ -827,6 +827,8 @@ void TileEditorMainWindow::onActionReplaceImage( int tabId )
QString fn = fileName.replace( '\\', '/' ); QString fn = fileName.replace( '\\', '/' );
int slashIdx = fn.lastIndexOf( '/' ); int slashIdx = fn.lastIndexOf( '/' );
m_lastTileDir = fn.left( slashIdx ); m_lastTileDir = fn.left( slashIdx );
updateTab();
} }
void TileEditorMainWindow::onTileBankLoaded() void TileEditorMainWindow::onTileBankLoaded()