mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 18:30:53 +00:00
Update the tile list right away if the image is replaced.
This commit is contained in:
parent
b313c4baa4
commit
8da30e76e6
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue