diff --git a/saoriview.cpp b/saoriview.cpp index 14c6fde..90dc8a9 100644 --- a/saoriview.cpp +++ b/saoriview.cpp @@ -127,6 +127,9 @@ SaoriView::~SaoriView() { savePinnedGeometry(); + if (!ui->actionPin->isChecked()) { + SaoriApplication::saori()->setting()->remove(SAORI_SETTING_VIEW + m_config); + } delete ui; m_viewList.removeOne(this); }