feat: remove the save function button from the menu bar

This commit is contained in:
kradchen
2025-05-26 16:17:53 +08:00
parent 5ca2704d9b
commit 94d50dbdd9

View File

@@ -90,8 +90,9 @@ void DefaultToolBar::initToolBarButtons() {
setMovable(false);
addButton(mBtnFile, "file");
addButton(mBtnImport, "import");
addButton(mBtnSave, "save");
auto actionSave = addButton(mBtnSave, "save");
mBtnSave->setEnabled(false);
actionSave->setVisible(false);
addSeparator();