feat: remove the save function button from the menu bar
This commit is contained in:
@@ -90,8 +90,9 @@ void DefaultToolBar::initToolBarButtons() {
|
|||||||
setMovable(false);
|
setMovable(false);
|
||||||
addButton(mBtnFile, "file");
|
addButton(mBtnFile, "file");
|
||||||
addButton(mBtnImport, "import");
|
addButton(mBtnImport, "import");
|
||||||
addButton(mBtnSave, "save");
|
auto actionSave = addButton(mBtnSave, "save");
|
||||||
mBtnSave->setEnabled(false);
|
mBtnSave->setEnabled(false);
|
||||||
|
actionSave->setVisible(false);
|
||||||
|
|
||||||
addSeparator();
|
addSeparator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user