mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Changed logics for opening model edit windows. Double clicking an empty slot always opens wizard. Clicking en existing always opens model edit. By using right click menu either can be specified.
This commit is contained in:
parent
b347b6f9c5
commit
9dfffbf641
9 changed files with 512 additions and 504 deletions
|
@ -1750,7 +1750,7 @@ QMenu *MainWindow::createRecentFileMenu()
|
|||
|
||||
QMenu *MainWindow::createProfilesMenu()
|
||||
{
|
||||
QMenu *profilesMenu=new QMenu(tr("Radio Settings Profile"));
|
||||
QMenu *profilesMenu=new QMenu(tr("Radio Profile"));
|
||||
int i;
|
||||
for ( i = 0; i < MAX_PROFILES; ++i) {
|
||||
profilesMenu->addAction(profileActs[i]);
|
||||
|
@ -1809,8 +1809,8 @@ void MainWindow::createToolBars()
|
|||
profileButton->setFocusPolicy(Qt::NoFocus);
|
||||
profileButton->setMenu(createProfilesMenu());
|
||||
profileButton->setIcon(CompanionIcon("profiles.png"));
|
||||
profileButton->setToolTip(tr("Radio Settings Profile"));
|
||||
profileButton->setStatusTip(tr("Show a selection list of radio settings profiles"));
|
||||
profileButton->setToolTip(tr("Radio Profile"));
|
||||
profileButton->setStatusTip(tr("Show a selection list of radio profiles"));
|
||||
|
||||
fileToolBar->addWidget(profileButton);
|
||||
fileToolBar->addAction(editSplashAct);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue