diff --git a/src/browserwidget.cpp b/src/browserwidget.cpp --- a/src/browserwidget.cpp +++ b/src/browserwidget.cpp @@ -457,9 +457,7 @@ return; } mAttrModel->removeRow(selection.first().row()); - if (mAttrModel->rowCount() == 0) { - contentUi.saveButton->setEnabled(false); - } + contentUi.saveButton->setEnabled(true); } void BrowserWidget::dumpToXml()