Skip to content

Commit 1343a32

Browse files
committed
通过任务栏窗口打开插件选项对话框时,父窗口指定为任务栏窗口
1 parent 48bbb4e commit 1343a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TrafficMonitor/TrafficMonitorDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2951,7 +2951,7 @@ void CTrafficMonitorDlg::OnPluginOptionsTaksbar()
29512951
if (plugin != nullptr)
29522952
{
29532953
//显示插件的选项设置
2954-
auto rtn = plugin->ShowOptionsDialog(GetSafeHwnd());
2954+
auto rtn = plugin->ShowOptionsDialog(m_tBarDlg->GetSafeHwnd());
29552955
if (rtn == ITMPlugin::OR_OPTION_CHANGED) //选项设置有更改,重新打开任务栏窗口
29562956
{
29572957
//CloseTaskBarWnd();

0 commit comments

Comments
 (0)