padOsd: Drop needless call
If we got this far, we are dealing with an already known label. There's no need for this check. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290
This commit is contained in:
parent
989118981b
commit
ece1329145
@ -639,9 +639,6 @@ var PadDiagram = GObject.registerClass({
|
|||||||
|
|
||||||
if (this._curEdited == null)
|
if (this._curEdited == null)
|
||||||
return;
|
return;
|
||||||
let [found] = this._getLabelCoords(action, idx, dir);
|
|
||||||
if (!found)
|
|
||||||
return;
|
|
||||||
this._editorActor.show();
|
this._editorActor.show();
|
||||||
editedLabel.hide();
|
editedLabel.hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user