File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -836,16 +836,6 @@ void Inspector::unsetReadOnly()
836836 reload ();
837837}
838838
839- void Inspector::highlightChanged ()
840- {
841- loadActions ();
842- }
843-
844- void Inspector::focusNetsChanged ()
845- {
846- loadActions ();
847- }
848-
849839void Inspector::loadActions ()
850840{
851841 // remove action buttons and ensure delete
@@ -1057,7 +1047,7 @@ void Inspector::handleAction(QWidget* action)
10571047 }
10581048
10591049 if (new_selection && new_selection == selection_) {
1060- reload ();
1050+ loadActions ();
10611051 return ;
10621052 }
10631053
Original file line number Diff line number Diff line change @@ -194,8 +194,6 @@ class Inspector : public QDockWidget
194194 void clicked (const QModelIndex& index);
195195 void doubleClicked (const QModelIndex& index);
196196 void update (const Selected& object = Selected());
197- void highlightChanged ();
198- void focusNetsChanged ();
199197
200198 int selectNext ();
201199 int selectPrevious ();
@@ -206,6 +204,7 @@ class Inspector : public QDockWidget
206204 void unsetReadOnly ();
207205
208206 void reload ();
207+ void loadActions ();
209208
210209 private slots:
211210 void focusIndex (const QModelIndex& index);
@@ -218,7 +217,6 @@ class Inspector : public QDockWidget
218217
219218 private:
220219 void handleAction (QWidget* action);
221- void loadActions ();
222220
223221 void adjustHeaders ();
224222
You can’t perform that action at this time.
0 commit comments