Skip to content

Commit 364b573

Browse files
committed
clipboard: close panel when running image action command
1 parent f0891be commit 364b573

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/shell/clipboard/clipboard_panel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,9 @@ void ClipboardPanel::runImageAction() {
12151215
const std::string command = buildImageActionCommand(configuredCommand, *exportedPath);
12161216
if (!process::runAsync(command)) {
12171217
kLog.warn("clipboard image action failed to launch: {}", configuredCommand);
1218+
return;
12181219
}
1220+
PanelManager::instance().close();
12191221
}
12201222

12211223
void ClipboardPanel::activateSelected() {

0 commit comments

Comments
 (0)