Commit b3621b37 authored by Stéphane Albert's avatar Stéphane Albert

ENH: Merged File/Load OTB-applications menu-item with View/OTB-application browser menu-item.

parent 638a2fb0
......@@ -486,7 +486,7 @@ MainWindow
m_UI->menu_View->addSeparator();
m_UI->menu_View->addSeparator();
m_UI->menu_View->addAction( m_UI->action_LoadOTBApplications );
#if USE_PIXEL_DESCRIPTION
m_UI->menu_View->addAction( m_PixelDescriptionDock->toggleViewAction() );
......@@ -1593,10 +1593,7 @@ MainWindow
//
// Update main-window UI.
m_UI->action_LoadOTBApplications->setEnabled( false );
m_UI->menu_View->addAction(
m_OtbApplicationsBrowserDock->toggleViewAction()
);
m_UI->action_LoadOTBApplications->setVisible( false );
m_UI->menu_View->addAction(
m_OtbApplicationsBrowserDock->toggleViewAction()
......
......@@ -31,7 +31,6 @@
<string>&amp;File</string>
</property>
<addaction name="action_OpenImage"/>
<addaction name="action_LoadOTBApplications"/>
<addaction name="separator"/>
<addaction name="action_Quit"/>
</widget>
......@@ -251,7 +250,7 @@
</action>
<action name="action_LoadOTBApplications">
<property name="text">
<string>Load OTB-&amp;Applications</string>
<string>OTB-Applications browser</string>
</property>
<property name="shortcut">
<string>Ctrl+A</string>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment