🐞 fix(UI模块): 修改右键发送未连接时提示弹窗
This commit is contained in:
parent
b335ffcbed
commit
1b6a5aeb13
|
@ -628,7 +628,11 @@ void MainWindow::setLocalPathList(const QStringList &list)
|
|||
{
|
||||
qInfo() << "get local peony menu send path list" << list;
|
||||
if (!m_isConnect) {
|
||||
setToolTipWin(tr("Not currently connected, please connect"), kdk::TipType::Warning);
|
||||
QMessageBox *msgBox = new QMessageBox(this);
|
||||
msgBox->setAttribute(Qt::WA_DeleteOnClose);
|
||||
msgBox->setText(tr("Not currently connected, please connect"));
|
||||
msgBox->setIcon(QMessageBox::Critical);
|
||||
msgBox->exec();
|
||||
qInfo() << "peony menu send: not current connect";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue