diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-28 20:44:36 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | a90b6efded49abcfa2516db794d7875b0396f558 (patch) | |
tree | ad9c3738830437064ada223f0978dab1d726b479 /pkg/gui/line_by_line_panel.go | |
parent | fa8571e1f4c349e401542285ea238acdbd9d17ec (diff) |
start refactoring gui
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r-- | pkg/gui/line_by_line_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go index a033aa0d7..e851bc821 100644 --- a/pkg/gui/line_by_line_panel.go +++ b/pkg/gui/line_by_line_panel.go @@ -89,7 +89,7 @@ func (gui *Gui) copySelectedToClipboard() error { gui.logAction(gui.Tr.Actions.CopySelectedTextToClipboard) if err := gui.OSCommand.CopyToClipboard(selected); err != nil { - return gui.surfaceError(err) + return gui.PopupHandler.Error(err) } return nil |