add a information message requested in #102 (Change of log directory is
only active after restart)
This commit is contained in:
@@ -898,6 +898,10 @@ void settingsDialogImpl::setLogDir()
|
||||
if(logDir.exists()) {
|
||||
lineEdit_logDir->setText(dir);
|
||||
refreshLogFileList();
|
||||
QMessageBox::information(this, tr("Settings Information"),
|
||||
tr("You have changed the log file directory.\n"
|
||||
"Please restart PokerTH to use the new directory for the log files!"),
|
||||
QMessageBox::Ok);
|
||||
} else {
|
||||
QMessageBox::warning(this, tr("Settings Error"),
|
||||
tr("The log file directory doesn't exist.\n"
|
||||
|
||||
Reference in New Issue
Block a user