Skip to content

Commit 0c2bea4

Browse files
authored
Fix #322: fix save of double value for rotation (#341)
1 parent d286347 commit 0c2bea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configeditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ void ConfigEditor::save() {
257257
settings.setValue("y", ui->y->text());
258258
settings.setValue("w", ui->w->text());
259259
settings.setValue("h", ui->h->text());
260-
settings.setValue("rotation", ui->rotation->text());
260+
settings.setValue("rotation", ui->rotation->value());
261261
settings.setValue("color", m_color.name());
262262
settings.setValue("outline-color", m_outlineColor.name());
263263
settings.setValue("outline-width", ui->outlineWidth->value());

0 commit comments

Comments
 (0)