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
1 changed files with 2 additions and 0 deletions
|
@ -679,6 +679,8 @@ void MainWindow::showInstanceContextMenu(const QPoint &pos)
|
||||||
void MainWindow::updateToolsMenu()
|
void MainWindow::updateToolsMenu()
|
||||||
{
|
{
|
||||||
QMenu *launchMenu = ui->actionLaunchInstance->menu();
|
QMenu *launchMenu = ui->actionLaunchInstance->menu();
|
||||||
|
QToolButton *launchButton = dynamic_cast<QToolButton*>(ui->instanceToolBar->widgetForAction(ui->actionLaunchInstance));
|
||||||
|
launchButton->setPopupMode(QToolButton::MenuButtonPopup);
|
||||||
if (launchMenu)
|
if (launchMenu)
|
||||||
{
|
{
|
||||||
launchMenu->clear();
|
launchMenu->clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue