Fix ModOnHDDialog not shown after doc externally modified
- Use the right api i.e., applicationState provides the info on whether we are active or not. - Connect to the applicationStateChanged signal to show the dialog
- Use the right api i.e., applicationState provides the info on whether we are active or not. - Connect to the applicationStateChanged signal to show the dialog
mentioned in commit aec3a222