Commit 97566341 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CHANGE] last loaded texture is now on top of texture list

parent d5a0a4b5
......@@ -112,7 +112,7 @@ void WQtTextureSorter::update()
{
da->endRead();
ta->beginWrite();
ta->get().push_back( *it );
ta->get().insert( ta->get().begin(), *it );
ta->endWrite();
da->beginRead();
}
......@@ -134,7 +134,7 @@ void WQtTextureSorter::update()
{
ta->endRead();
ta->beginWrite();
ta->get().push_back( *it );
ta->get().insert( ta->get().begin(), *it );
ta->endWrite();
}
else
......@@ -158,6 +158,7 @@ void WQtTextureSorter::update()
ta->endRead();
m_textureListWidget->setCurrentRow( index );
sort();
}
void WQtTextureSorter::moveItemDown()
......
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