← Back to team overview

kicad-developers team mailing list archive

Patch: Don't force modal dialog on creating a new file

 

Hi,
Small patch.

When creating a new schematic or start a new board from your
schematic, a new file is created. But in that case an
attention-grabbing modal dialog pops ups telling the user that 'The
file is not found'. The first reaction of the user is that something
went wrong - but everything works as expected.

It seems, someone 'fixed' this problem by adding a message to these
dialog boxes that this is normal and expected if this is the first
time happening.
But this fixes the symptom, not the cause (scary attention grabbing
modal dialog box).

There is really no reason for such a modal dialog, and they should be
used sparingly.
In any other application, if a new file is opened, a message in the
status line is telling about this. If at all.

This patch fixes this: what used to be a modal dialog box is now just
a status message "New file %s".

cheers,
  -henner

Attachment: patch-new-file-message-not-modal-dialog.gz
Description: GNU Zip compressed data


Follow ups