add: return;

This commit is contained in:
Qv2ray-dev 2020-03-10 15:07:55 +08:00
parent b714216b40
commit 8b04b14abb

View File

@ -818,6 +818,7 @@ void RouteEditor::on_editBtn_clicked()
if (nodeScene->selectedNodes().empty()) if (nodeScene->selectedNodes().empty())
{ {
QvMessageBoxWarn(this, tr("Edit Inbound/Outbound"), tr("Please select a node from the graph to continue.")); QvMessageBoxWarn(this, tr("Edit Inbound/Outbound"), tr("Please select a node from the graph to continue."));
return;
} }
auto firstNode = nodeScene->selectedNodes().at(0); auto firstNode = nodeScene->selectedNodes().at(0);