diff options
Diffstat (limited to 'src/dialogs/settingsdialog.cpp')
| -rw-r--r-- | src/dialogs/settingsdialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dialogs/settingsdialog.cpp b/src/dialogs/settingsdialog.cpp index 5283d47..ba901dd 100644 --- a/src/dialogs/settingsdialog.cpp +++ b/src/dialogs/settingsdialog.cpp @@ -136,6 +136,7 @@ void SettingsDialog::setGeminiStyle(DocumentStyle const &style) this->ui->indent_p->setValue(this->current_style.indent_p); this->ui->indent_h->setValue(this->current_style.indent_h); this->ui->indent_l->setValue(this->current_style.indent_l); + this->ui->indent_size->setValue(this->current_style.indent_size); this->ui->list_symbol->setCurrentIndex(0); for(int i = 0; i < this->ui->list_symbol->count(); ++i) { @@ -552,6 +553,12 @@ void SettingsDialog::on_indent_l_valueChanged(int value) this->reloadStylePreview(); } +void SettingsDialog::on_indent_size_valueChanged(double value) +{ + this->current_style.indent_size = value; + this->reloadStylePreview(); +} + void SettingsDialog::on_list_symbol_currentIndexChanged(int index) { if(index >= 0) { |
