ui: fixed crash when clicking on namespace label
This commit is contained in:
@@ -175,7 +175,7 @@ void QtUpdateChecker::check(bool force, std::function<void(Result)> callback)
|
||||
void QtUpdateChecker::checkUpdate()
|
||||
{
|
||||
m_onQtThread(
|
||||
[this]()
|
||||
[]()
|
||||
{
|
||||
check(false, [](Result){});
|
||||
}
|
||||
|
||||
@@ -74,6 +74,8 @@ bool QtGraphNodeQualifier::setPosition(const Vec2i& pos)
|
||||
|
||||
void QtGraphNodeQualifier::onClick()
|
||||
{
|
||||
hide();
|
||||
|
||||
MessageActivateNodes msg;
|
||||
msg.addNode(0, m_qualifierName);
|
||||
msg.dispatch();
|
||||
|
||||
@@ -647,7 +647,7 @@ void QtProjectWizzard::newSourceGroup()
|
||||
}
|
||||
|
||||
QtProjectWizzardWindow* window = createWindowWithContent(
|
||||
[this](QtProjectWizzardWindow* window)
|
||||
[](QtProjectWizzardWindow* window)
|
||||
{
|
||||
window->setPreferredSize(QSize(570, 380));
|
||||
return new QtProjectWizzardContentSelect(window);
|
||||
|
||||
Reference in New Issue
Block a user