forked from len0rd/rockbox
Explicitly set the dialog's result code for TTS / Encoder windows. Fixes an issue where one couldn't close the dialog anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17766 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9aa7ceb0df
commit
24bb08ddd3
2 changed files with 11 additions and 10 deletions
|
|
@ -80,12 +80,12 @@ void EncExesGui::accept(void)
|
|||
|
||||
// sync settings
|
||||
settings->sync();
|
||||
this->close();
|
||||
this->done(0);
|
||||
}
|
||||
|
||||
void EncExesGui::reject(void)
|
||||
{
|
||||
this->close();
|
||||
this->done(0);
|
||||
}
|
||||
|
||||
void EncExesGui::reset()
|
||||
|
|
@ -153,12 +153,12 @@ void EncRbSpeexGui::accept(void)
|
|||
|
||||
// sync settings
|
||||
settings->sync();
|
||||
this->close();
|
||||
this->done(0);
|
||||
}
|
||||
|
||||
void EncRbSpeexGui::reject(void)
|
||||
{
|
||||
this->close();
|
||||
this->done(0);
|
||||
}
|
||||
|
||||
void EncRbSpeexGui::reset()
|
||||
|
|
@ -168,3 +168,4 @@ void EncRbSpeexGui::reset()
|
|||
ui.complexity->setValue(defaultComplexity);
|
||||
ui.narrowband->setChecked(Qt::Unchecked);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue