mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
NOISSUE improve launch button interaction
Now has a drop-down arrow that actually works as expected.
This commit is contained in:
parent
2e0a45cc2f
commit
b6b2350e02
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user