diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-01 23:33:20 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-01 23:33:20 +0100 |
commit | b6b2350e027d127049c61d8e01dc5416ac5c037b (patch) | |
tree | aa1644c9b6ab334a613b24a6537e4ed66194d59f | |
parent | 2e0a45cc2f7b3b3b84d72905bb4217bc1cffbf85 (diff) | |
download | MultiMC-b6b2350e027d127049c61d8e01dc5416ac5c037b.tar MultiMC-b6b2350e027d127049c61d8e01dc5416ac5c037b.tar.gz MultiMC-b6b2350e027d127049c61d8e01dc5416ac5c037b.tar.lz MultiMC-b6b2350e027d127049c61d8e01dc5416ac5c037b.tar.xz MultiMC-b6b2350e027d127049c61d8e01dc5416ac5c037b.zip |
NOISSUE improve launch button interaction
Now has a drop-down arrow that actually works as expected.
-rw-r--r-- | application/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 85484700..4736b33e 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -679,6 +679,8 @@ void MainWindow::showInstanceContextMenu(const QPoint &pos) void MainWindow::updateToolsMenu() { QMenu *launchMenu = ui->actionLaunchInstance->menu(); + QToolButton *launchButton = dynamic_cast<QToolButton*>(ui->instanceToolBar->widgetForAction(ui->actionLaunchInstance)); + launchButton->setPopupMode(QToolButton::MenuButtonPopup); if (launchMenu) { launchMenu->clear(); |