enhanced game table styles error handling with new error messages on load, apply and game table start.

This commit is contained in:
doitux
2010-07-10 17:02:06 +00:00
parent 98d7e84ed2
commit f6472e6e94
11 changed files with 276 additions and 109 deletions
+4
View File
@@ -659,6 +659,8 @@ void gameTableImpl::applySettings(settingsDialogImpl* mySettingsDialog) {
}
refreshGameTableStyle();
qDebug() << "table: " << myGameTableStyle->getStyleDescription() << myGameTableStyle->getState();
if(this->isVisible() && myGameTableStyle->getState() != GT_STYLE_OK) myGameTableStyle->showErrorMessage();
//blind buttons refresh
if(myStartWindow->getSession()->getCurrentGame()) {
@@ -2853,6 +2855,8 @@ void gameTableImpl::localGameModification() {
//restore saved windows geometry
restoreGameTableGeometry();
if(myGameTableStyle->getState() != GT_STYLE_OK) myGameTableStyle->showErrorMessage();
}
void gameTableImpl::networkGameModification() {