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:
Mark de Wever 2007-03-11 15:25:32 +00:00
parent 26bda9125e
commit d71f9fb723

View file

@ -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";