From 49072f9d01504dcd1670811b80d6b11bb8c6e1a9 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 3 Sep 2022 17:19:12 +0200 Subject: sdgui: fix context menu item sensitivity --- src/stardict-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/stardict-view.c b/src/stardict-view.c index 32d7259..cc7935b 100644 --- a/src/stardict-view.c +++ b/src/stardict-view.c @@ -729,7 +729,7 @@ make_context_menu (StardictView *self) { GtkWidget *copy = gtk_menu_item_new_with_mnemonic ("_Copy"); gtk_widget_set_sensitive (copy, - self->selection_begin < self->selection_end); + self->selection_begin != self->selection_end); g_signal_connect_data (copy, "activate", G_CALLBACK (on_copy_activate), g_object_ref (self), (GClosureNotify) g_object_unref, 0); -- cgit v1.2.3-70-g09d2