Skip to content

Commit 87ee37d

Browse files
committed
if cell activates on single-click, disable double-click path
1 parent af8f1ff commit 87ee37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raddbg/raddbg_views.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2884,7 +2884,7 @@ RD_VIEW_UI_FUNCTION_DEF(watch)
28842884
}
28852885

28862886
// rjf: activation (double-click normally, or single-clicks with special buttons)
2887-
if(ui_double_clicked(sig) ||
2887+
if((!(cell_info.flags & RD_WatchCellFlag_ActivateWithSingleClick) && ui_double_clicked(sig)) ||
28882888
((cell_info.flags & RD_WatchCellFlag_ActivateWithSingleClick) && ui_clicked(sig)))
28892889
{
28902890
// rjf: kill if a double-clickable cell

0 commit comments

Comments
 (0)