mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Repaint immediately when the display channel is changed.
--HG-- branch : gsoc2014-dfighter
This commit is contained in:
parent
edf1da1294
commit
613643b033
1 changed files with 9 additions and 1 deletions
|
@ -848,7 +848,15 @@ void TileEditorMainWindow::onTileBankLoaded()
|
|||
|
||||
void TileEditorMainWindow::updateTab()
|
||||
{
|
||||
m_ui->tileViewTabWidget->currentWidget()->repaint();
|
||||
int idx = m_ui->tileViewTabWidget->currentIndex();
|
||||
|
||||
switch( idx )
|
||||
{
|
||||
case 0: m_ui->listView128->viewport()->repaint(); break;
|
||||
case 1: m_ui->listView256->viewport()->repaint(); break;
|
||||
case 2: m_ui->listViewTransition->viewport()->repaint(); break;
|
||||
case 3: m_ui->listViewDisplacement->viewport()->repaint(); break;
|
||||
}
|
||||
}
|
||||
|
||||
TileModel* TileEditorMainWindow::createTileModel()
|
||||
|
|
Loading…
Reference in a new issue