Fixed error messages when trying to show a dialog in nogui mode.
This commit is contained in:
parent
9aab45f72f
commit
bd54862523
1 changed files with 2 additions and 0 deletions
|
@ -293,6 +293,8 @@ int dialog::show(int xloc, int yloc)
|
|||
|
||||
int dialog::show()
|
||||
{
|
||||
if (disp_.video().faked()) return CLOSE_DIALOG;
|
||||
|
||||
if(disp_.video().update_locked()) {
|
||||
ERR_DP << "display locked ignoring dialog '" << title_ << "' '" << message_->get_text() << "'\n";
|
||||
return CLOSE_DIALOG;
|
||||
|
|
Loading…
Add table
Reference in a new issue