Skip to content

Commit 9284991

Browse files
committed
配置了ShowFailNavMsg才显示提示信息框
1 parent 3a51a3e commit 9284991

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

QTTabBar/QTTabBarClass.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -5934,7 +5934,10 @@ internal void OpenNewWindow(IDLWrapper idlwGiven) {
59345934
StaticReg.SkipNextCapture = true;
59355935
if(ShellBrowser.Navigate(idlw, wFlags) != 0) {
59365936
QTUtility2.MakeErrorLog(null, string.Format("Failed navigation: {0}", idlw.Path));
5937-
MessageBox.Show(string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], idlw.Path));
5937+
if (Config.Window.ShowFailNavMsg)
5938+
{
5939+
MessageBox.Show(string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], idlw.Path));
5940+
}
59385941
StaticReg.CreateWindowGroup = string.Empty;
59395942
StaticReg.SkipNextCapture = false;
59405943
}

0 commit comments

Comments
 (0)