Skip to content

Commit

Permalink
配置了ShowFailNavMsg才显示提示信息框
Browse files Browse the repository at this point in the history
  • Loading branch information
indiff committed Mar 1, 2024
1 parent 3a51a3e commit 9284991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion QTTabBar/QTTabBarClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5934,7 +5934,10 @@ internal void OpenNewWindow(IDLWrapper idlwGiven) {
StaticReg.SkipNextCapture = true;
if(ShellBrowser.Navigate(idlw, wFlags) != 0) {
QTUtility2.MakeErrorLog(null, string.Format("Failed navigation: {0}", idlw.Path));
MessageBox.Show(string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], idlw.Path));
if (Config.Window.ShowFailNavMsg)
{
MessageBox.Show(string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], idlw.Path));
}
StaticReg.CreateWindowGroup = string.Empty;
StaticReg.SkipNextCapture = false;
}
Expand Down

0 comments on commit 9284991

Please sign in to comment.