Skip to content

Commit

Permalink
Config ShowFailNavMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
indiff committed Feb 19, 2024
1 parent ebd2505 commit 37905db
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions QTTabBar/QTSecondViewBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1845,12 +1845,15 @@ protected void ShowMessageNavCanceled(string failedPath, bool fModal)
{
QTUtility2.log("QTTabBarClass ShowMessageNavCanceled: " + failedPath);
QTUtility2.MakeErrorLog(null, string.Format("Failed navigation: {0}", failedPath));
MessageForm.Show(ExplorerHandle,
string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], failedPath),
string.Empty,
MessageBoxIcon.Asterisk,
0x2710,
fModal);
if ( Config.Window.ShowFailNavMsg )
{
MessageForm.Show(ExplorerHandle,
string.Format(QTUtility.TextResourcesDic["TabBar_Message"][0], failedPath),
string.Empty,
MessageBoxIcon.Asterisk,
0x2710,
fModal);
}
}

protected void CancelFailedTabChanging(string newPath)
Expand Down

0 comments on commit 37905db

Please sign in to comment.