diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-12-05 22:00:27 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-12-05 22:00:27 +0000 |
| commit | e40f7be29b41009dc5de943a4189e2edf37ce71c (patch) | |
| tree | 4e6b52e90a6c91e80b11b6f03bf408b119ea2a67 /src/widgets/toolbox.cpp | |
| parent | * [INTL: sv] swedish translation update by Henrik Larsson (closes: #174223) (diff) | |
| download | inkscape-e40f7be29b41009dc5de943a4189e2edf37ce71c.tar.gz inkscape-e40f7be29b41009dc5de943a4189e2edf37ce71c.zip | |
Always set coord entry fields inactive when switching to the node tool
(bzr r4179)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 43124a79e..c2c7ff852 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -904,6 +904,10 @@ sp_node_toolbox_coord_changed(gpointer /*shape_editor*/, GObject *tbl) } } } + } else { + // no shape-editor or nodepath yet (when we just switched to the tool); coord entries must be inactive + gtk_action_set_sensitive(xact, FALSE); + gtk_action_set_sensitive(yact, FALSE); } g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); |
