ui: Refresh UI state only after every style refresh in each view finished (#917)
Separated UI refresh into 'style' and 'state' refresh to avoid race condition between task scheduler thread and UI thread that affected code view state. fixes #916
This commit is contained in:
@@ -350,7 +350,7 @@ void UndoRedoController::handleMessage(MessageIndexingFinished* message)
|
||||
m_iterator = m_list.end();
|
||||
}
|
||||
|
||||
void UndoRedoController::handleMessage(MessageRefreshUI* message)
|
||||
void UndoRedoController::handleMessage(MessageRefreshUIState* message)
|
||||
{
|
||||
std::list<Command>::iterator startIterator = m_iterator;
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user