if a dialog can't be shown due to the fact the screen has been locked...
...the dialog is no longer silently discarded, but an error is logged before discarding the message.
This commit is contained in:
parent
26bda9125e
commit
d71f9fb723
1 changed files with 3 additions and 1 deletions
|
@ -244,8 +244,10 @@ int dialog::show(int xloc, int yloc)
|
|||
|
||||
int dialog::show(const dimension_measurements &dim)
|
||||
{
|
||||
if(disp_.update_locked())
|
||||
if(disp_.update_locked()) {
|
||||
ERR_DP << "display locked ignoring dialog '" << title_ << "' '" << message_->get_text() << "'\n";
|
||||
return CLOSE_DIALOG;
|
||||
}
|
||||
|
||||
LOG_DP << "showing dialog '" << title_ << "' '" << message_->get_text() << "'\n";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue