Skip to content

Commit a24bf0b

Browse files
pengfeixxdeepin-bot[bot]
authored andcommitted
fix(remotemanage): group dialog obscured by terminal window
GroupConfigOptDlg was created without parent and window modality, causing it to be hidden behind terminal. Now passes parent and sets Qt::WindowModal, matching ServerConfigOptDlg behavior. 添加分组对话框未设置父窗口和窗口模态,导致被终端窗口遮挡。 现在传入父窗口并设置Qt::WindowModal,与添加服务器对话框一致。 Log: 修复添加分组对话框被终端窗口遮挡的问题 PMS: BUG-358805 Influence: 修复后添加分组对话框始终保持在终端窗口之上,不会被遮挡。
1 parent 73d83c1 commit a24bf0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/remotemanage/remotemanagementpanel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void RemoteManagementPanel::showAddGroupConfigDlg(const QString &groupName)
209209
// 弹窗显示
210210
Service::instance()->setIsDialogShow(window(), true);
211211

212-
GroupConfigOptDlg *dlg = new GroupConfigOptDlg(groupName);
212+
GroupConfigOptDlg *dlg = new GroupConfigOptDlg(groupName, this);
213213
connect(dlg, &ServerConfigOptDlg::finished, this, [ = ](int result) {
214214
// 弹窗隐藏或消失
215215
Service::instance()->setIsDialogShow(window(), false);

0 commit comments

Comments
 (0)