mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
fix: setCurrentIndex after started
This commit is contained in:
parent
5ba9fd6a3b
commit
7f0deef7a2
@ -1 +1 @@
|
||||
5947
|
||||
5948
|
||||
|
@ -272,6 +272,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
if (!connections.empty())
|
||||
{
|
||||
const auto index = modelHelper->GetConnectionPairIndex({ connections.first(), groups.first() });
|
||||
connectionTreeView->setCurrentIndex(index);
|
||||
on_connectionTreeView_clicked(index);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user