B2021-072: Update RO Field Name definition – confusing dialog
This commit is contained in:
parent
c9204fc578
commit
4b8c133e7e
@ -2662,8 +2662,14 @@ namespace RODBInterface
|
||||
// or not.
|
||||
if (changegeneric != false)
|
||||
{
|
||||
System.Windows.Forms.DialogResult result = MessageBox.Show("Update Generic definition?", "Referenced Object Definition",
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
// B2021-072: don't update name if user selects No on dialog. This is actually misleading, because Yes updates
|
||||
// Generic definition, i.e. all Groups, and No updates only Local definition, i.e. just this Group Added a
|
||||
// Cancel button to Cancel from this dialog and return to previous dialog. Added more information to the
|
||||
// dialog to inform user of this
|
||||
string dmsg = "Update Generic definition?\r\n\r\n Yes - updates Generic definitions, \r\n No - updates Local definitions, \r\n Cancel - returns to previous dialog." +
|
||||
"\r\n\r\n 'Generic' updates definition in ALL groups that use the name\r\n 'Local' updates definition only in the selected group.";
|
||||
System.Windows.Forms.DialogResult result = MessageBox.Show(dmsg, "Referenced Object Definition", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
|
||||
if (result == DialogResult.Cancel) return false;
|
||||
if (result == DialogResult.No) changegeneric = false;
|
||||
}
|
||||
if (changegeneric == true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user