aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stardict-view.c2
1 files changed, 1 insertions, 1 deletions
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);