X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/496872dddcd6f50ba8addaf16b6b0d5c8f52bc71..1ce2fb199db7bdf5baf05b61e4e58c549404b4df:/src/viewpropertiesdialog.cpp diff --git a/src/viewpropertiesdialog.cpp b/src/viewpropertiesdialog.cpp index 102629875..5c9f7c3e1 100644 --- a/src/viewpropertiesdialog.cpp +++ b/src/viewpropertiesdialog.cpp @@ -339,7 +339,7 @@ void ViewPropertiesDialog::applyViewProperties() m_isDirty = false; - if (m_useAsDefault->isChecked()) { + if (m_useAsDefault && m_useAsDefault->isChecked()) { // For directories where no .directory file is available, the .directory // file stored for the global view properties is used as fallback. To update // this file we temporary turn on the global view properties mode.