Skip to content

Commit

Permalink
small fix in studio menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani committed Dec 17, 2021
1 parent 0798590 commit f5d2916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aseba/clients/studio/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,14 +794,14 @@ void MainWindow::setupMenu() {
regenerateOpenRecentMenu();
fileMenu->addMenu(openRecentMenu)->setIcon(QIcon(":/images/fileopen.png"));

fileMenu->addAction(QIcon(":/images/filesave.png"), tr("&Save..."), this, SLOT(save()), QKeySequence::Save);
fileMenu->addAction(QIcon(":/images/filesave.png"), tr("&Save"), this, SLOT(save()), QKeySequence::Save);
fileMenu->addAction(QIcon(":/images/filesaveas.png"), tr("Save &As..."), this, SLOT(saveFile()),
QKeySequence::SaveAs);

fileMenu->addSeparator();
fileMenu->addAction(QIcon(":/images/filesaveas.png"), tr("Export &memories content..."), this,
SLOT(exportMemoriesContent()));
fileMenu->addAction(QIcon(":/images/filesaveas.png"), tr("Export current program to binary"), this, SLOT(ExportCode())),
fileMenu->addAction(QIcon(":/images/filesaveas.png"), tr("Export current program to binary..."), this, SLOT(ExportCode())),
fileMenu->addSeparator();
#ifdef Q_WS_MAC
fileMenu->addAction(QIcon(":/images/exit.png"), "quit", this, SLOT(close()), QKeySequence::Quit);
Expand Down

0 comments on commit f5d2916

Please sign in to comment.