Skip to content

Commit

Permalink
Fixed qnet combo boxes being editable
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemapel committed Apr 7, 2022
1 parent 59882a0 commit 37edce8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isis/src/qisis/objs/QnetTools/QnetTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ namespace Isis {

m_leftCombo = new QComboBox;
m_leftCombo->setEditable(true);
m_leftCombo->setInsertPolicy(QComboBox::NoInsert);
m_leftCombo->setToolTip("Choose left control measure");
m_leftCombo->setWhatsThis("Choose left control measure identified by "
"cube filename.");
Expand Down Expand Up @@ -405,6 +406,7 @@ namespace Isis {
// create widgets for the right groupbox
m_rightCombo = new QComboBox;
m_rightCombo->setEditable(true);
m_rightCombo->setInsertPolicy(QComboBox::NoInsert);

// Attach shortcuts to Qnet Tool's window for selecting right measures
// Note: Qt handles this memory for us since m_qnetTool is the parent of these shortcuts
Expand Down

0 comments on commit 37edce8

Please sign in to comment.