Remember background type in Tools->Save picture dialog

This commit is contained in:
Yorik van Havre
2018-05-18 10:46:21 -03:00
parent fca8034b18
commit 5e1e1260c8
3 changed files with 13 additions and 0 deletions

View File

@@ -139,6 +139,15 @@ int DlgSettingsImageImp::backgroundType() const
return comboBackground->currentIndex();
}
/**
* Sets the image size to (\a w, \a h).
*/
void DlgSettingsImageImp::setBackgroundType(int t)
{
if ( t < comboBackground->count() )
comboBackground->setCurrentIndex(t);
}
bool DlgSettingsImageImp::addWatermark() const
{
return checkWatermark->isChecked();