mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
UI improvements installer/update info
This commit is contained in:
@@ -206,7 +206,7 @@ namespace BlackGui
|
||||
const CRemoteFileList remoteFiles = artifacts.asRemoteFiles();
|
||||
if (!remoteFiles.isEmpty())
|
||||
{
|
||||
const QStringList xSwiftBusFiles(remoteFiles.getNamesPlusSize(true));
|
||||
const QStringList xSwiftBusFiles(remoteFiles.getNamesPlusSize(false));
|
||||
ui->cb_DownloadFile->addItems(xSwiftBusFiles);
|
||||
|
||||
// current text
|
||||
@@ -218,7 +218,7 @@ namespace BlackGui
|
||||
}
|
||||
ui->cb_DownloadFile->setCurrentText(
|
||||
current.isEmpty() ?
|
||||
remoteFiles.backOrDefault().getNameAndSize() :
|
||||
remoteFiles.frontOrDefault().getNameAndSize() :
|
||||
current
|
||||
); // latest version
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user