gui: adjustments to remove emane global options from legacy gui, since it is no longer applicable

This commit is contained in:
Blake Harnden 2021-05-20 12:48:42 -07:00
parent 4ff650af67
commit aea727ba42

View file

@ -541,13 +541,7 @@ proc wlanConfigDialogHelper { wi target apply } {
ttk::button $opts.model -text "model options" \ ttk::button $opts.model -text "model options" \
-image $plugin_img_edit -compound right -command "" -state disabled \ -image $plugin_img_edit -compound right -command "" -state disabled \
-command "configCap $target \[set g_selected_model\]" -command "configCap $target \[set g_selected_model\]"
# global EMANE model uses no node in config request message, although any pack $opts.model -side left -padx 4 -pady 4
# config will be stored with the EMANE node having the lowest ID
ttk::button $opts.gen -text "EMANE options" \
-image $plugin_img_edit -compound right \
-command "configCap -1 emane"
#-command "popupPluginsCapConfigHelper $wi config $target"
pack $opts.model $opts.gen -side left -padx 4 -pady 4
pack $opts -side top -anchor c -padx 4 -pady 4 pack $opts -side top -anchor c -padx 4 -pady 4
# show correct tab basic/emane based on selection # show correct tab basic/emane based on selection