ui: fixes for release
* fixed NameHierarchy delimiter not set when project settings need to be migrated * fixed codeview does not scroll to linenumber in single file mode when activating symbol in changed file
This commit is contained in:
@@ -13,6 +13,7 @@ TicTacToe::~TicTacToe() {
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
||||
bool TicTacToe::Start() {
|
||||
Reset();
|
||||
io::stringOut("Tic Tac Toe\n\n[1] Human\n[2] Computer\n[3] Quit\n\n");
|
||||
|
||||
@@ -140,6 +140,11 @@ bool Project::refresh(bool forceRefresh)
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_sourceGroups.empty())
|
||||
{
|
||||
NameHierarchy::setDelimiter(getSymbolNameDelimiterForLanguage(m_sourceGroups.front()->getLanguage()));
|
||||
}
|
||||
|
||||
if (requestIndex(forceRefresh, needsFullRefresh))
|
||||
{
|
||||
m_storageAccessProxy->setSubject(m_storage.get());
|
||||
|
||||
@@ -660,7 +660,10 @@ void QtCodeNavigator::requestScroll(const FilePath& filePath, uint lineNumber, I
|
||||
// std::cout << "scroll request: " << req.filePath.str() << " " << req.lineNumber << " " << req.locationId;
|
||||
// std::cout << " " << req.animated << " " << req.onTop << std::endl;
|
||||
|
||||
m_scrollRequest = req;
|
||||
if ((!m_scrollRequest.lineNumber || !m_scrollRequest.locationId) && (req.lineNumber || req.locationId))
|
||||
{
|
||||
m_scrollRequest = req;
|
||||
}
|
||||
|
||||
m_singleHasNewFile = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user