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()
|
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…
x
Reference in New Issue
Block a user