Skip to content

Commit

Permalink
Replace "Edit" with "Open in browser"
Browse files Browse the repository at this point in the history
Signed-off-by: J茅r么me Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
  • Loading branch information
Jerome-Herbinet committed May 24, 2024
1 parent c287b04 commit c2d8b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/socketapi/socketapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ void SocketApi::command_GET_MENU_ITEMS(const QString &argument, OCC::SocketListe
DirectEditor* editor = getDirectEditorForLocalFile(fileData.localPath);
if (editor) {
//listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Edit via ") + editor->name());
listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Edit"));
listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Open in browser"));
} else {
listener->sendMessage(QLatin1String("MENU_ITEM:OPEN_PRIVATE_LINK") + flagString + tr("Open in browser"));
}
Expand Down

0 comments on commit c2d8b79

Please sign in to comment.