Suggestion about popup warnings

themis's profile image themis posted 8 years ago in Feature discussion Permalink

Hi, first, thanks for your great product. i would like to suggest a feature in HeidiSQL_9.3_Sourcecode

in main.pas (lines 2710,2711) if (Warnings.RecordCount = Thread.WarningCount) or (Warnings.RecordCount < 5) then MessageDialog(MsgTitle, MsgText, mtWarning, [mbOk]) This force prompt of popup warnings.

should it be possible in a future version, to create a configuration option (show warnings : popup or log panel) and then show warnings (when <5) in the log panel for those like me who want to avoid click ok on every warnings

Themis, french developper

[expired user #10664]'s profile image [expired user #10664] posted 8 years ago Permalink

I agree that this should be a configuration option. In the version I find on GITHUB around line 2795 in main.pas, the line

if Thread.WarningCount > 0 then begin

could be changed to

if Thread.WarningCount > 0 and SettingShowWarning then begin

SettingShowWarning could be a simple boolean setting that is setup in a Preference tab (or something). I do not always care to see the warnings.

Thanks!

Please login to leave a reply, or register at first.