summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/object-attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/object-attributes.cpp')
-rw-r--r--src/ui/dialog/object-attributes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/object-attributes.cpp b/src/ui/dialog/object-attributes.cpp
index a1c747ce8..74deffb06 100644
--- a/src/ui/dialog/object-attributes.cpp
+++ b/src/ui/dialog/object-attributes.cpp
@@ -79,8 +79,8 @@ ObjectAttributes::ObjectAttributes (void) :
subselChangedConn(),
selectModifiedConn()
{
- attrTable.show();
- widget_setup();
+ attrTable.show();
+ widget_setup();
desktopChangeConn = deskTrack.connectDesktopChanged( sigc::mem_fun(*this, &ObjectAttributes::setTargetDesktop) );
deskTrack.connect(GTK_WIDGET(gobj()));
@@ -143,11 +143,11 @@ void ObjectAttributes::widget_setup (void)
return;
}
- int len = 0;
std::vector<Glib::ustring> labels;
std::vector<Glib::ustring> attrs;
if (CurrentItem != item)
{
+ int len = 0;
while (desc[len].label)
{
labels.push_back(desc[len].label);