Code

initially hide the remove button
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 5 Sep 2007 19:30:23 +0000 (19:30 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 5 Sep 2007 19:30:23 +0000 (19:30 +0000)
src/ui/dialog/livepatheffect-editor.cpp

index 363f2b60671d898af512a7a44a043419a43f283c..f55fcdda052996acf09b0e2b2e01e318e2d2a17b 100644 (file)
@@ -90,7 +90,6 @@ LivePathEffectEditor::LivePathEffectEditor(Behavior::BehaviorFactory behavior_fa
 \r
     effectcontrol_vbox.pack_start(explain_label, true, true);\r
     effectcontrol_vbox.pack_end(button_remove, true, true);\r
-               button_remove.hide();\r
     effectcontrol_frame.add(effectcontrol_vbox);\r
 \r
     vbox->pack_start(effectapplication_frame, true, true);\r
@@ -109,6 +108,7 @@ LivePathEffectEditor::LivePathEffectEditor(Behavior::BehaviorFactory behavior_fa
 \r
     setDesktop(SP_ACTIVE_DESKTOP);\r
     show_all_children();\r
+               button_remove.hide();\r
 }\r
 \r
 LivePathEffectEditor::~LivePathEffectEditor() \r